Skip to content
GitLab
  • Explore
  • Sign in
  • Register
  • vauxoovauxoo
  • xunnel-account
  • Issues
  • #63

Downloads issued invoices

The invoices downloaded from the xunnel-app also needs to be issued (emitidas).

Modules to modify:

  • xunnel-invoice
  • xunnel-app
In xunnel-invoice
  1. The wizard xunnel.attachments.wizard must have a invoice_type selection field (with related=False, default='recibidas') storing the values [('emitidas', 'Issued invoices'), ('recibidas', 'Invoices received')].
  2. That value must be passed to the method _sync_xunnel_attachments and update the dictionary sent in self._xunnel('get_invoices_sat', values)
In xunnel-app
  1. The method _get_invoices_sat is going to receive the key/value you updated in xunnel-invoice step 2.
  2. Change the way the keywords are sent in this line, must be either 'recibidas,vigente' or 'emitidas,vigente'. To make this, use the parameter you just sent.

More info in the docs

Assignee
Assign to
Time tracking