summaryrefslogtreecommitdiff
path: root/addons/uom/data/uom_data.xml
diff options
context:
space:
mode:
authoryhu-odoo <yhu@odoo.com>2020-08-17 08:45:28 +0000
committeryhu-odoo <yhu@odoo.com>2020-09-07 08:36:21 +0000
commit460ec0402a2352a5b179d81935f7230f6bc97cb7 (patch)
treefc54167c26e5d73c546666217e328979af0cbc1e /addons/uom/data/uom_data.xml
parentb1000ffc5c2f5157a900da1a6ca94292602231d4 (diff)
[IMP] uom: change default rounding to two
Change the default rouning digits of all UoMs to be two, also change the decimal.precision of UoM to be two. Adapt all the tests. Also to avoid hardcoded digits in `should_consume_qty` widget. PR #56000
Diffstat (limited to 'addons/uom/data/uom_data.xml')
-rw-r--r--addons/uom/data/uom_data.xml2
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/uom/data/uom_data.xml b/addons/uom/data/uom_data.xml
index 049fce2f51d..3682dd17557 100644
--- a/addons/uom/data/uom_data.xml
+++ b/addons/uom/data/uom_data.xml
@@ -27,7 +27,6 @@
<field name="name">Units</field>
<field name="factor" eval="1.0"/>
<field name="uom_type">reference</field>
- <field name="rounding" eval="0.001"/>
</record>
<record id="product_uom_dozen" model="uom.uom">
<field name="category_id" ref="uom.product_uom_categ_unit"/>
@@ -41,7 +40,6 @@
<field name="name">kg</field>
<field name="factor" eval="1"/>
<field name="uom_type">reference</field>
- <field name="rounding" eval="0.001"/>
</record>
<record id="product_uom_gram" model="uom.uom">
<field name="category_id" ref="product_uom_categ_kgm"/>