</group>
<group col="2" colspan="1">
<separator string="Payment Options" colspan="2"/>
+ <field name="writeoff_amount"/>
<field name="payment_option" required="1"/>
- <field name="writeoff_amount"
- attrs="{'invisible':[('payment_option','!=','with_writeoff')]}"/>
<field name="writeoff_acc_id"
attrs="{'invisible':[('payment_option','!=','with_writeoff')], 'required':[('payment_option','=','with_writeoff')]}"
domain="[('type','=','other')]"/>
</group>
<group col="2" colspan="1">
<separator string="Payment Options" colspan="2"/>
+ <field name="writeoff_amount"/>
<field name="payment_option" required="1"/>
- <field name="writeoff_amount"
- attrs="{'invisible':[('payment_option','!=','with_writeoff')]}"/>
<field name="writeoff_acc_id"
attrs="{'invisible':[('payment_option','!=','with_writeoff')], 'required':[('payment_option','=','with_writeoff')]}"
domain="[('type','=','other')]"/>