[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.
This commit is contained in:
Lionel Sausin 2015-06-02 16:31:54 +02:00 committed by Martin Trigaux
parent 815f91b951
commit 08fabb1d64
1 changed files with 2 additions and 2 deletions

View File

@ -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">