From 2aff77efe081f2434ccc17ec1037370a1796468c Mon Sep 17 00:00:00 2001 From: Camille Spiritus Date: Tue, 8 Nov 2022 10:00:16 +0000 Subject: [PATCH] [FIX] account: fix l10n_ch qr & din5008 display Germany and Switzerland both use the DIN5008 paper layout and encoutered some issues while printing an invoice's pdf. In Germany, the display of pdf invoices changed with v16.0. The header and footer would always display borders, which would mess up the rest of the display. Adding the 'table-borderless' class solved this problem. In l10n_ch, this issue was also encountered, and the general display of the qr bill page was set off. This is problematic since this display is highly rigid. Those changes seem to be linked to wkhtmltopdf unability to process some of the Bootstrap5 changes. While waiting for a more long term solution regarding wkhtmltopdf and BS5 compatibility, calling directly the adequate external_layout allows us to get back a correct QR Bill. task-3037921 closes odoo/odoo#105464 X-original-commit: 627b0f581801705f8e2d2f2bead5176e9af884f8 Signed-off-by: Laurent Smet Signed-off-by: Camille Spiritus (casp) --- addons/l10n_ch/report/swissqr_report.xml | 5 ++--- addons/l10n_ch/static/src/scss/report_swissqr.scss | 2 +- addons/l10n_din5008/report/din5008_report.xml | 6 +++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/addons/l10n_ch/report/swissqr_report.xml b/addons/l10n_ch/report/swissqr_report.xml index 28a46d0a56a..d8615d244d0 100644 --- a/addons/l10n_ch/report/swissqr_report.xml +++ b/addons/l10n_ch/report/swissqr_report.xml @@ -14,9 +14,8 @@