[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>
This commit is contained in:
jerome hanke (jhk)
2020-02-06 17:19:55 +00:00
parent de26f4a4e8
commit d657a9c29a
+1 -1
View File
@@ -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">