From 9222d6c6ad2d48bd25e196cf6eeb894c52d24a3e Mon Sep 17 00:00:00 2001 From: dbkosky Date: Thu, 19 May 2022 08:33:40 +0000 Subject: [PATCH] [FIX] l10n_it_edi: fix codicedestinatario foreign pa index The pa index should only be XXXXXXX when the foreign partner is not identified. In this commit we change the condition on the template such that if the pa index is defined, we always utilise it. If the pa index is not defined but the partner is italian, we use '0000000', and when it is not defined and the partner is not italian, we use 'XXXXXXX'. closes odoo/odoo#91871 Task-id: 2858092 X-original-commit: bf468affa2d86967b3b63a0be62063061b7b263c Signed-off-by: Josse Colpaert Signed-off-by: Daniel Kosky (dako) --- addons/l10n_it_edi/data/invoice_it_template.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/l10n_it_edi/data/invoice_it_template.xml b/addons/l10n_it_edi/data/invoice_it_template.xml index 627e5cfd2aa..f3151eb43ef 100644 --- a/addons/l10n_it_edi/data/invoice_it_template.xml +++ b/addons/l10n_it_edi/data/invoice_it_template.xml @@ -56,9 +56,9 @@ - + - +