Navigation Menu

Skip to content

Commit

Permalink
[FIX] l10n_es_edi_sii: do not change the success
Browse files Browse the repository at this point in the history
Before, the 'success' key was removed from the results
of the invoice processing and as such the invoice
was never put as successfully sent, but you sent it
again and again.

closes #81902

Signed-off-by: Laurent Smet <las@odoo.com>
  • Loading branch information
jco-odoo committed Dec 24, 2021
1 parent f908171 commit 853ff30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/l10n_es_edi_sii/models/account_edi_format.py
Expand Up @@ -672,5 +672,5 @@ def _post_invoice_edi(self, invoices, test_mode=False):
'res_model': inv._name,
'res_id': inv.id,
})
res[inv] = {'attachment': attachment}
res[inv]['attachment'] = attachment
return res

0 comments on commit 853ff30

Please sign in to comment.