From cdb8a0bee43943986d05095518c8eff4832d19a2 Mon Sep 17 00:00:00 2001 From: "Anh Thao Pham (pta)" Date: Mon, 12 Feb 2024 13:23:22 +0100 Subject: [PATCH] [FIX] l10n_it: fix missing note of fiscal position on invoice Steps to reproduce: - Install Accounting - Create a fiscal position with a legal note - Create an invoice with the created fiscal position - Preview the invoice => The legal note from the fiscal position appears on the invoice as expected - Install l10n_it - Preview the invoice => The legal note from the fiscal position doesn't appear anymore Cause: The condition to display the legal note from the fiscal position is overridden by l10n_it module to only display it for Italian companies, which is not correct. Solution: Remove the condition about the Italian companies. By removing that condition, the inherited view becomes useless as the overridden condition is the same as the original one. The inherited view will have to be removed in master. opw-3709443 closes odoo/odoo#155072 X-original-commit: aa8646281885167698e9f8b3b549b2c4e17dc2cc Signed-off-by: Brice Bartoletti (bib) Signed-off-by: Anh Thao Pham (pta) --- addons/l10n_it/data/report_invoice.xml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/addons/l10n_it/data/report_invoice.xml b/addons/l10n_it/data/report_invoice.xml index 48ce175bd27..f79c73185f4 100644 --- a/addons/l10n_it/data/report_invoice.xml +++ b/addons/l10n_it/data/report_invoice.xml @@ -1,15 +1,6 @@ +