From d657a9c29ae8c41a5a7ce934415fcc679158bb8f Mon Sep 17 00:00:00 2001 From: "jerome hanke (jhk)" Date: Wed, 5 Feb 2020 11:42:40 +0000 Subject: [PATCH] [FIX] product: removal of hardcoded value in product template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Steps to reproduce: - install sales - activate units of measures and variants - set imperial units under general settings (pounds for weight and ft³ for volume) - create at least 2 variants on a product and access them via the smart button from product.template Previous behavior: the volume remains in m³, it is hardcoded in the template Current behavior: the volume is printed just like the weight (generic uom notation) opw-2186965 closes odoo/odoo#44777 X-original-commit: d7f2beac5ff856afeb684be4b13317838a0257a1 Signed-off-by: Nicolas Martinelli (nim) --- addons/product/views/product_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/product/views/product_views.xml b/addons/product/views/product_views.xml index 6c24133c50d..1dba24de10f 100644 --- a/addons/product/views/product_views.xml +++ b/addons/product/views/product_views.xml @@ -251,7 +251,7 @@