summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorLionel Sausin <ls@numerigraphe.com>2015-06-02 16:31:54 +0200
committerMartin Trigaux <mat@odoo.com>2015-06-03 17:49:04 +0200
commit08fabb1d64c5f4d80ef2bb131f4e2f5cb840cca0 (patch)
treeab3c23f1866a339bffbc866de8cd930824ede8db /addons
parent815f91b9511c52b95177e2824ee913aaf80ee8d2 (diff)
[FIX] product: Don't force arbitrary precision on weights
The product view forces the decimal accuracy to 3 digits on weight and weight_net, but the accuracy can actually be set using the 'Decimal Acuracy' feature so it must not be forced here.
Diffstat (limited to 'addons')
-rw-r--r--addons/product/product_view.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml
index 429ac0ce4f9..e2f02c00c4a 100644
--- a/addons/product/product_view.xml
+++ b/addons/product/product_view.xml
@@ -107,8 +107,8 @@
</group>
<group name="weight" string="Weights" attrs="{'invisible':[('type','=','service')]}">
<field digits="(14, 3)" name="volume"/>
- <field digits="(14, 3)" name="weight"/>
- <field digits="(14, 3)" name="weight_net"/>
+ <field name="weight"/>
+ <field name="weight_net"/>
</group>
</group>
<group name="packaging" string="Packaging" attrs="{'invisible':[('type','=','service')]}" groups="product.group_stock_packaging" colspan="4">