Downloads issued invoices
The invoices downloaded from the xunnel-app also needs to be issued (emitidas).
Modules to modify:
In xunnel-invoice
- The wizard
xunnel.attachments.wizardmust have ainvoice_typeselection field (withrelated=False,default='recibidas') storing the values[('emitidas', 'Issued invoices'), ('recibidas', 'Invoices received')]. - That value must be passed to the method
_sync_xunnel_attachmentsand update the dictionary sent inself._xunnel('get_invoices_sat', values)
In xunnel-app
- The method
_get_invoices_satis going to receive the key/value you updated inxunnel-invoicestep 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