From 477082212d4e85901945ef3c27ac99ff996155e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=8E=E3=82=A6=E3=83=A9?= Date: Thu, 26 Jan 2023 11:28:42 +0000 Subject: [PATCH] [FIX] sale, purchase: fix product description overflow Steps to reproduce: - Install stock, purchase - Create a product with a long name without whitespace - Create a purchase order with that product - Go to portal and access the purchase order Current behavior: - Product description overflows when accessing the PO from the portal Behavior after the PR: - To fix the problem in the Portal we add table-responsive to the table opw-3133407 closes odoo/odoo#112672 X-original-commit: 5abccc5efc6e333c8a889a1c24419dadc9c6e7f0 Signed-off-by: Bouvy Damien (dbo) Signed-off-by: Thibault Delavallee (tde) --- addons/purchase/views/portal_templates.xml | 176 ++++++++++---------- addons/sale/views/sale_portal_templates.xml | 170 +++++++++---------- 2 files changed, 175 insertions(+), 171 deletions(-) diff --git a/addons/purchase/views/portal_templates.xml b/addons/purchase/views/portal_templates.xml index ef3404d2b61..cd7140aa430 100644 --- a/addons/purchase/views/portal_templates.xml +++ b/addons/purchase/views/portal_templates.xml @@ -255,100 +255,102 @@

Pricing

- - - - - - - - - - - - - +
+
ProductsQuantityScheduled DateUpdate HereUnit Price - Taxes - - Amount - Total Price -
+ + + + + + + + + + + + - + - + - - + + - - - - - - + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - -
ProductsQuantityScheduled DateUpdate HereUnit Price + Taxes + + Amount + Total Price +
- Product - - -
- - -
-
-
- -
-
-
- +
+ Product + + +
+ + +
+
+ + +
+
+
+ +
- - -
-
-
- - - - - - - - -
+
+
+ + + + + + + + +
- Subtotal - -
+ + + + Subtotal + + + + + + + +
diff --git a/addons/sale/views/sale_portal_templates.xml b/addons/sale/views/sale_portal_templates.xml index 0fd5c1df2f0..e51a49d5657 100644 --- a/addons/sale/views/sale_portal_templates.xml +++ b/addons/sale/views/sale_portal_templates.xml @@ -463,96 +463,98 @@ - - - - - - - - - - - - +
+
ProductsQuantity - Unit Price - - Disc.% - - Taxes - - Amount - Total Price -
+ + + + + + + + + + + - - + + - + - - + + - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - -
ProductsQuantity + Unit Price + + Disc.% + + Taxes + + Amount + Total Price +
- - -
- - -
-
-
+ +
+ + +
+ + +
+
+
+
+ +
+
+ + % + + + + + + + + + + +
+ Subtotal + -
- -
- - % - - - - - - - - - - -
- Subtotal - -
+ +
+ + +