[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:
parent
815f91b951
commit
08fabb1d64
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue