From 2303fc8bcedf977b9e35f7f5f0fbd7d910510161 Mon Sep 17 00:00:00 2001 From: jvm-odoo Date: Fri, 5 Jun 2020 10:55:22 +0000 Subject: [PATCH] [FIX] sale_stock: fix quantity available widget display Issue - Runbot (or install every modules needed) - Sales > Any order (or create a new one) - Enable all columns - Remove all lines then add a line - Select any product The "i" icon container is not large enough so it's partially hidden but if you resize the window, it will be corrected. Cause Since there is no icon (display none) before selecting the product, the _freezeColumnWidths method computes the width without the icon When selecting the product, the icon is added but the width is not adjusted. Solution Change d-none to invisible so that, the icon is there but not visible and the width computation will be correct OPW-2269665 closes odoo/odoo#52840 X-original-commit: 0058ba467e7cf2f1bb0b8f606c7d4559897a31c4 Signed-off-by: Nicolas Martinelli (nim) Signed-off-by: Jason Van Malder (jvm) --- addons/sale_stock/static/src/xml/sale_stock.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sale_stock/static/src/xml/sale_stock.xml b/addons/sale_stock/static/src/xml/sale_stock.xml index 7b82c449f9d..a79e31d0aa0 100644 --- a/addons/sale_stock/static/src/xml/sale_stock.xml +++ b/addons/sale_stock/static/src/xml/sale_stock.xml @@ -1,6 +1,6 @@
-