1
<?xml version="1.0" encoding="utf-8"?>
5
<!-- Delete old Write-Off wizard -->
6
<delete id="account_move_line_reconcile_writeoff" model="ir.ui.view"/>
8
<!-- Delete Write-Off fields and button for reconcile wizard -->
9
<record id="inherit_view_account_move_line_reconcile_full" model="ir.ui.view">
10
<field name="name">inherit.account.move.line.full.form</field>
11
<field name="model">account.move.line.reconcile</field>
12
<field name="type">form</field>
13
<field name="inherit_id" ref="account.view_account_move_line_reconcile_full"/>
14
<field name="arch" type="xml">
16
<xpath expr="/form/separator[@string='Write-Off']" position="replace">
18
<field name="writeoff" position="replace"/>
19
<xpath expr="/form/group[1]" position="replace">
20
<group colspan="4" col="6">
21
<label string ="" colspan="2"/>
22
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
23
<button icon="terp-stock_effects-object-colorize" string="Reconcile" name="trans_rec_reconcile_full" type="object" default_focus="1" attrs="{'invisible': [('state', '!=', 'total')]}"/>
24
<button icon="gtk-ok" string="Partial Reconcile" name="trans_rec_reconcile_partial_reconcile" type="object" attrs="{'invisible': [('state', '!=', 'partial')]}"/>
26
<field name="state" invisible="1"/>