From 33dfee605e5ccce91a53ceefc4b5b4ead79f889f Mon Sep 17 00:00:00 2001 From: Josse Colpaert Date: Tue, 21 Dec 2021 20:36:28 +0000 Subject: [PATCH] [FIX] l10n_es_edi_sii: do not change the success 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 odoo/odoo#81911 X-original-commit: 853ff30b76a56bcb9af88256aac3a3ceb93bf562 Signed-off-by: Laurent Smet Signed-off-by: Josse Colpaert --- addons/l10n_es_edi_sii/models/account_edi_format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/l10n_es_edi_sii/models/account_edi_format.py b/addons/l10n_es_edi_sii/models/account_edi_format.py index 4fc12283fda..5de42d2b41c 100644 --- a/addons/l10n_es_edi_sii/models/account_edi_format.py +++ b/addons/l10n_es_edi_sii/models/account_edi_format.py @@ -666,5 +666,5 @@ class AccountEdiFormat(models.Model): 'res_model': inv._name, 'res_id': inv.id, }) - res[inv] = {'attachment': attachment} + res[inv]['attachment'] = attachment return res