summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Henrotin <whe@odoo.com>2018-06-19 10:37:54 +0200
committerWilliam Henrotin <whe@odoo.com>2018-09-21 09:32:54 +0200
commit8565348b0c572c6b6dc24e6fe4295d31f2f6dc35 (patch)
treef59ef54c5b1ef9bd55808bb7dfa5ae7db77bd5dc
parente962f2bb77d1d794c357d1cdacc0dd2c4912b850 (diff)
[FIX] uom: rename ratio field
The ratio field in the UoM form view has 2 different labels depending on the type (bigger or smaller). This commit put the same label 'ratio' for two cases. Task :1859328
-rw-r--r--addons/uom/views/uom_uom_views.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/uom/views/uom_uom_views.xml b/addons/uom/views/uom_uom_views.xml
index 59acc96e86f..a42051bea89 100644
--- a/addons/uom/views/uom_uom_views.xml
+++ b/addons/uom/views/uom_uom_views.xml
@@ -27,6 +27,7 @@
attrs="{'invisible':[('uom_type','!=','smaller')],
'readonly':[('uom_type','=','bigger')]}"/>
<field name="factor_inv"
+ string="Ratio"
digits="[42,5]"
attrs="{'invisible':[('uom_type','!=','bigger')],
'readonly':[('uom_type','!=','bigger')]}"/>