<field name="type"/>
<field name="amount" class="oe_inline"
attrs="{'invisible':[('type','in',('none', 'code', 'balance'))]}"/>
- <label string="%%" attrs="{'invisible':[('type','<>','percent')]}"/>
- <label string="%% Ratio" attrs="{'invisible':[('type','<>','percent')]}"/>
++ <label string="%% ratio between 0-1" attrs="{'invisible':[('type','<>','percent')]}"/>
</div>
<field name="python_compute" attrs="{'invisible':[('type','!=','code')],'required':[('type','=','code')]}"/>
<field name="python_compute_inv" attrs="{'invisible':[('type','!=','code')],'required':[('type','=','code')]}"/>