forked from OCA/account-reconcile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
statement_view.xml
28 lines (26 loc) · 1.13 KB
/
statement_view.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="view_bank_statement_form_cancel_line" model="ir.ui.view">
<field name="name">account.bank.statement.form.</field>
<field name="inherit_id" ref="account.view_bank_statement_form" />
<field name="model">account.bank.statement</field>
<field name="arch" type="xml">
<data>
<xpath expr="//field[@name='line_ids']/tree/field[@name='amount']"
position="after">
<field name="state"/>
<button name="confirm" states="draft"
string="Confirm transaction"
icon="gtk-ok"
type="object"/>
<button name="button_cancel" states="confirmed"
string="Cancel transaction"
icon="gtk-cancel"
type="object"/>
</xpath>
</data>
</field>
</record>
</data>
</openerp>