From 464c5626aafe04d0fc397795cb949330cfe3bf91 Mon Sep 17 00:00:00 2001 From: "Victor Piryns (pivi)" Date: Wed, 11 Jan 2023 11:12:22 +0000 Subject: [PATCH] [FIX] web: fix width of 1st column on bold layout timesheet report Current behaviour: When having the `external_layout_bold` as Document layout, when printing timesheets, the date column takes too much width of the table. Expected behaviour: Have the columns be proportional, similar to the `external_layout_standard` layout. Steps to reproduce: - Install Timesheet - Activate Dev Mode - Change the Document layout to `external_layout_bold` - Timesheets > List View > Select an item > Print - Observe that the first columns (with Date) is taking 1/2 of the width Reason for the problem: I presume some leftover legacy styling with a `width:48%` for the first column of a bold_layout table. Fix: Remove that legacy styling. Affected versions: - 15.0 - saas-15.2 - saas-15.3 - 16.0 - master opw-3114053 closes odoo/odoo#110723 X-original-commit: 01c0eb16b5c3d418e5a494a825cc60f76a743377 Signed-off-by: Aaron Bohy (aab) --- .../webclient/actions/reports/layout_assets/layout_clean.scss | 3 --- 1 file changed, 3 deletions(-) diff --git a/addons/web/static/src/webclient/actions/reports/layout_assets/layout_clean.scss b/addons/web/static/src/webclient/actions/reports/layout_assets/layout_clean.scss index 228bd5c0bb2..4933042efff 100644 --- a/addons/web/static/src/webclient/actions/reports/layout_assets/layout_clean.scss +++ b/addons/web/static/src/webclient/actions/reports/layout_assets/layout_clean.scss @@ -40,9 +40,6 @@ border-top: 3px solid $o-default-report-secondary-color !important; text-transform: uppercase; } - tr th:first-child { - width: 48%; - } } tbody { color: #000;