<field name="type">form</field>
<field name="arch" type="xml">
<form string="Reconciliation">
- <group width="660" height="430">
- <separator string="Options" colspan="4"/>
- <group>
- <field name="account_ids" colspan="4" domain="[('reconcile','=',1)]"/>
- <field name="date1"/>
- <field name="date2"/>
- <field name="power"/>
- <field name="allow_write_off"/>
- </group>
- <newline/>
- <group attrs="{'readonly':[('allow_write_off', '!=', True)]}">
- <separator string="Write-Off Move" colspan="4"/>
- <field name="max_amount"/>
- <field name="writeoff_acc_id" attrs="{ 'required':[('allow_write_off', '=', True)]}"/>
- <field name="journal_id" attrs="{ 'required':[('allow_write_off', '=', True)]}"/>
- <field name="period_id" attrs="{ 'required':[('allow_write_off', '=', True)]}"/>
- </group>
- <separator string ="" colspan="4"/>
- <group colspan="2" col="4">
- <button special="cancel" string="Cancel" icon="gtk-cancel"/>
- <button name="reconcile" string="Reconcile" type="object" icon="terp-stock_effects-object-colorize"/>
- </group>
+ <separator string="Options" colspan="4"/>
+ <group>
+ <field name="account_ids" colspan="4" domain="[('reconcile','=',1)]"/>
+ <field name="date1"/>
+ <field name="date2"/>
+ <field name="power"/>
+ <field name="allow_write_off"/>
</group>
+ <newline/>
+ <group attrs="{'readonly':[('allow_write_off', '!=', True)]}">
+ <separator string="Write-Off Move" colspan="4"/>
+ <field name="max_amount"/>
+ <field name="writeoff_acc_id" attrs="{ 'required':[('allow_write_off', '=', True)]}"/>
+ <field name="journal_id" attrs="{ 'required':[('allow_write_off', '=', True)]}"/>
+ <field name="period_id" attrs="{ 'required':[('allow_write_off', '=', True)]}"/>
+ </group>
+ <separator string ="" colspan="4"/>
+ <group colspan="2" col="4">
+ <button special="cancel" string="Cancel" icon="gtk-cancel"/>
+ <button name="reconcile" string="Reconcile" type="object" icon="terp-stock_effects-object-colorize"/>
+ </group>
</form>
</field>
</record>