Skip to content
Snippets Groups Projects
Commit 1c568f02 authored by Florent de Labarre's avatar Florent de Labarre Committed by Yannick Tivisse
Browse files

[IMP] product: Hide weight and volume on service products

parent 7c9b6b63
No related branches found
No related tags found
No related merge requests found
......@@ -203,10 +203,10 @@
<field name="currency_id" invisible='1'/>
</group>
<group name="weight">
<group name="weight" string="Weights">
<label for="volume"/>
<group name="weight" string="Weights" attrs="{'invisible':[('type', 'not in', ['product', 'consu'])]}">
<label for="volume"/>
<div class="o_row">
<field digits="(14, 3)" name="volume"/>
<field name="volume"/>
<span></span>
</div>
<label for="weight"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment