From d9d47166de4577a6d640ab08a35c75bf8f878aa1 Mon Sep 17 00:00:00 2001 From: "Hansun (hale)" Date: Mon, 13 Mar 2023 17:38:27 +0000 Subject: [PATCH] [FIX] l10n_din5008: fix document layout 1. Install DIN 5008 2.1. Settings - [Companies] > [Document Layout] > Configure (..) - Set [Layout] to DIN 5008 and paper format to one with DIN 5008 - write on [Company Tagline] - [Download PDF Preview] 2.2. Accounting - Customer Invoices - click an invoice and [PREVIEW] Before: Slogan not added After: Added versions: up to master opw-3145751 closes odoo/odoo#115125 X-original-commit: 9d6876dbcb82b18d30fa8811456d26f67586344d Signed-off-by: Grazioso Andrea (agr) Signed-off-by: Lee, Hansun (hale) --- addons/l10n_din5008/report/din5008_report.xml | 2 +- addons/l10n_din5008/static/src/scss/report_din5008.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/l10n_din5008/report/din5008_report.xml b/addons/l10n_din5008/report/din5008_report.xml index 474e9e071c0..995f09d1cc9 100644 --- a/addons/l10n_din5008/report/din5008_report.xml +++ b/addons/l10n_din5008/report/din5008_report.xml @@ -37,7 +37,7 @@
- +

diff --git a/addons/l10n_din5008/static/src/scss/report_din5008.scss b/addons/l10n_din5008/static/src/scss/report_din5008.scss index bd49eb65145..941162f1da8 100644 --- a/addons/l10n_din5008/static/src/scss/report_din5008.scss +++ b/addons/l10n_din5008/static/src/scss/report_din5008.scss @@ -6,11 +6,11 @@ &.header { table { width: 100%; - img, h3, td, tr { + img, div.h3, td, tr { padding: 0; margin: 0; } - h3 { + div.h3 { color: $o-default-report-primary-color; position: relative; top: -10mm;