From 066f4ec97cb77564ecc68f65f2678f2fd57fa0d6 Mon Sep 17 00:00:00 2001 From: "Andrea Grazioso (agr-odoo)" Date: Wed, 7 Oct 2020 08:01:09 +0000 Subject: [PATCH] [FIX] sale: fix quantity non visible in portal This commit fix the fw port https://github.com/odoo/odoo/pull/58149 which does not work in all scenario Create a sale order Put an optional product with long description (no line break) Save and confirm Log in the portal with the receiving user, add the optional product to the order. The customer can't see the quantity of the optional product. The number is not showing in the quantity adjustment widet. opw-2350879 closes odoo/odoo#59801 X-original-commit: 9a91fe7d6064475bc949a5c2aee883ea2f419930 Signed-off-by: agr-odoo Signed-off-by: Nicolas Martinelli (nim) --- addons/sale/static/src/scss/sale_portal.scss | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/addons/sale/static/src/scss/sale_portal.scss b/addons/sale/static/src/scss/sale_portal.scss index 3316f254eb3..56b7883a7dd 100644 --- a/addons/sale/static/src/scss/sale_portal.scss +++ b/addons/sale/static/src/scss/sale_portal.scss @@ -17,13 +17,19 @@ overflow-wrap: break-word; } +.sale_tbody input.js_quantity { + min-width: 48px; + text-align: center; +} + +.sale_tbody div.input-group.w-50.pull-right { + width: 100% !important; +} + .o_portal .sale_tbody .js_quantity_container { - width: 50%; .js_quantity { - text-align: center; padding: 0; - min-width: 48px; } .input-group-text {