From 970c72fa1757d612634f011ce2b67ba5097e5f21 Mon Sep 17 00:00:00 2001 From: "Anh Thao Pham (pta)" Date: Thu, 16 Nov 2023 12:37:39 +0000 Subject: [PATCH] [FIX] l10n_din5008: hide all header if not needed Steps to reproduce: - Install Accounting and l10n_ch - Switch to a Swiss company - Go to Settings and make sure that DIN5008 is selected as Document Layout - Go to Accounting settings and activate "QR Codes" option - Create an invoice for an Swiss contact - Print the invoice => The DIN5008 header is appearing on the QR code page. No header should appear on the QR code page with DIN5008. opw-3529963 closes odoo/odoo#142778 X-original-commit: c0511e88cf71fb99c6b43d7a2646e6c291e4b062 Signed-off-by: Olivier Colson (oco) Signed-off-by: Anh Thao Pham (pta) --- addons/l10n_din5008/report/din5008_report.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/l10n_din5008/report/din5008_report.xml b/addons/l10n_din5008/report/din5008_report.xml index 698ba42fae8..8eea3d53d19 100644 --- a/addons/l10n_din5008/report/din5008_report.xml +++ b/addons/l10n_din5008/report/din5008_report.xml @@ -46,7 +46,8 @@
+ t-att-data-oe-id="o and o.id" + t-if="not skip_headers"> -
+
@@ -91,7 +92,7 @@