From 5d2116e14637bb121740efd75e4a549dbce5957e Mon Sep 17 00:00:00 2001 From: "Hamza (hisl)" Date: Wed, 21 Jun 2023 11:30:45 +0000 Subject: [PATCH] [FIX] delivery : set max-width of tracking # col If the tracking number in the transfers is lengthy in terms of characters. The column will move to the left and take the space of other columns, resulting in a very bad layout. This is because Wkhtmltopdf does not handle the flexbox properly and and a max width had to be set. 1. Create a transfer with a delivery method. 2. Add a lot of characters in the tracking reference field. 3. Print the delivery slip. Current Behaviour: The tracking reference field does not respect the boundaries of other columns are take over their space. Expected Behaviour: The columns should keep a decent space to for the other column values. OPW-3343067 closes odoo/odoo#130430 X-original-commit: 7cea2fc560f719827fc04be85ff9e7dc3a5586b3 Signed-off-by: Hamza Islam (hisl) --- addons/stock_delivery/views/report_deliveryslip.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock_delivery/views/report_deliveryslip.xml b/addons/stock_delivery/views/report_deliveryslip.xml index 46a116e70da..55bc273eb77 100644 --- a/addons/stock_delivery/views/report_deliveryslip.xml +++ b/addons/stock_delivery/views/report_deliveryslip.xml @@ -12,7 +12,7 @@ -
+
Tracking Number: