Skip to content
Snippets Groups Projects
Commit 2221f014 authored by Josse Colpaert's avatar Josse Colpaert
Browse files

[FIX] l10n_it_edi_sdicoop: if to the PA, it should be changed to sent


First thing is that when you send an invoice to PA in test/production,
it should be considered as sent after the xml is generated as we do not
have the functionality to send sign invoices yet.

We added a test for posting the invoice when the invoice partner has a
l10n_it_pa_index (and it is of length 6).

Alos, when the proxy user is a 'demo' user, creates a
traceback. The solution is to only add the demo response to those that
would have been sent to the iap server otherwise.

We also avoid doing a call to the IAP server if there are no invoices to be
sent (e.g. because they all go to the PA)

opw-2807213

closes odoo/odoo#91020

Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
parent 5f39f8c1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment