~therp-nl/banking-addons/ba61-lp1098699-fix_clieop_rounding_issue

« back to all changes in this revision

Viewing changes to bank_statement_instant_voucher/view/account_bank_statement_line.xml

  • Committer: Guewen Baconnier @ Camptocamp
  • Author(s): Stefan Rijnhart
  • Date: 2012-12-10 07:21:06 UTC
  • mfrom: (140.2.5 6.1-bank_statement_instant_voucher)
  • Revision ID: guewen.baconnier@camptocamp.com-20121210072106-xnkuro407242nepe
[IMP] Take advantage of instantly created import transactions on
manually encoded statements

See https://code.launchpad.net/~therp-nl/banking-addons/6.1-lp1066826-matching_wizard_on_manual_statements

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<openerp>
 
3
    <data>
 
4
        <record id="view_banking_bank_statement_form" model="ir.ui.view">
 
5
            <field name="name">Add instant voucher button to bank statement line on statement form</field>
 
6
            <field name="inherit_id" ref="account.view_bank_statement_form" />
 
7
            <field name="model">account.bank.statement</field>
 
8
            <field name="type">form</field>
 
9
            <field name="priority" eval="30"/>
 
10
            <field name="arch" type="xml">
 
11
                <xpath expr="/form/notebook/page/field[@name='line_ids']/tree/field[@name='voucher_id']"
 
12
                       position="before">
 
13
                    <button name="create_instant_voucher" states="draft"
 
14
                            string="Create matching voucher"
 
15
                            icon="STOCK_COPY"
 
16
                            type="object"/>
 
17
                </xpath>
 
18
            </field>
 
19
        </record>
 
20
    </data>
 
21
</openerp>