From fb00c98a728222d5bb76c2f1ab5423b8ddb578d2 Mon Sep 17 00:00:00 2001 From: momegahed Date: Thu, 25 May 2023 13:27:49 +0000 Subject: [PATCH] [FIX] product: product name overflow is hidden Steps to reproduce: 1 - activate "Print GS1 Barcodes for Lots & Serial Numbers" 2 - create a product P tracked by lot 3 - print the "Lot/Serial Number (PDF)" from the stock.lot form/list view Bug: contrary to previous versions, the current template doesn't allow the field to overflow into multiple lines Fix: change the css class `o_label_4x12` as it is only used in usecases where overflow show be allowed OPW-3336476 closes odoo/odoo#124557 X-original-commit: a5924bfe11cd9324e2ba056e0ac1d449aed730c8 Signed-off-by: William Henrotin (whe) Signed-off-by: Mohamed Megahed Abbas Megahed SALLAM (mome) --- addons/product/static/src/scss/report_label_sheet.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/product/static/src/scss/report_label_sheet.scss b/addons/product/static/src/scss/report_label_sheet.scss index 9787dd143e4..abb05aa250d 100644 --- a/addons/product/static/src/scss/report_label_sheet.scss +++ b/addons/product/static/src/scss/report_label_sheet.scss @@ -72,8 +72,8 @@ padding:0; line-height:1; font-size:55%; - overflow:hidden; - white-space:nowrap; - text-overflow: ellipsis; + overflow:visible; + white-space:normal; + word-wrap: break-word; } }