From dea1e8b68a02a087a1277356dfae6f60513bc2c6 Mon Sep 17 00:00:00 2001 From: Jinjiu Liu Date: Fri, 9 Dec 2022 15:37:52 +0000 Subject: [PATCH] [FIX] sale_stock: remove redundant css class for correct pdf rendering Reproduction: 1. Install Sales, Stock 2. Place an order with any product, in the Other Info tab, type in anything for Customer Reference 3. Confirm the Order, Go to Delivery, Validate the delivery 4. Print the Delivery Slip, and the customer reference part is overlapping with other text Reason: the unnecessary CSS attribute is causing an overlapping when rendering the delivery template Fix: remove and reformatting the code A correct example of adding extra info (done without row): https://github.com/odoo-dev/odoo/blob/16.0/addons/delivery/views/report_deliveryslip.xml#L4-L17 closes odoo/odoo#107726 X-original-commit: 863a9cf159da9691744f08a915e12f477342dbc3 Signed-off-by: Yannick Tivisse (yti) Signed-off-by: Liu Jinjiu (jili) --- addons/sale_stock/report/stock_report_deliveryslip.xml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/addons/sale_stock/report/stock_report_deliveryslip.xml b/addons/sale_stock/report/stock_report_deliveryslip.xml index 47bd0ec33c6..9e923320a5e 100644 --- a/addons/sale_stock/report/stock_report_deliveryslip.xml +++ b/addons/sale_stock/report/stock_report_deliveryslip.xml @@ -2,11 +2,9 @@