diff options
| author | jerome hanke (jhk) <jhk@odoo.com> | 2020-02-05 11:42:40 +0000 |
|---|---|---|
| committer | jerome hanke (jhk) <jhk@odoo.com> | 2020-02-06 17:19:55 +0000 |
| commit | d657a9c29ae8c41a5a7ce934415fcc679158bb8f (patch) | |
| tree | 5877f5d664a3d7a7560bfb534721c2cab0f7c1ee /addons/product/views | |
| parent | de26f4a4e8d7226bee66a14a787f4890224f6e22 (diff) | |
[FIX] product: removal of hardcoded value in product template
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) <nim@odoo.com>
Diffstat (limited to 'addons/product/views')
| -rw-r--r-- | addons/product/views/product_views.xml | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ <label for="volume"/> <div class="o_row"> <field name="volume"/> - <span>m³</span> + <span><field name="volume_uom_name"/></span> </div> <label for="weight"/> <div class="o_row"> |
