~camptocamp/banking-addons/vre-preserve-manual-partial-reconcile

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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
   
    <record id="view_bank_statement_form" model="ir.ui.view">
        <field name="name">account.bank.statement.form</field>
        <field name="model">account.bank.statement</field>
        <field name="inherit_id" ref="account.view_bank_statement_form"/>
        <field name="type">form</field>
        <field name="arch" type="xml">
            <field name="period_id" position="replace"/>
        </field>
    </record>
    <record id="view_banking_bank_statement_tree" model="ir.ui.view">
        <field name="name">account.bank.statement.tree.banking</field>
        <field name="inherit_id" ref="account.view_bank_statement_tree" />
        <field name="model">account.bank.statement</field>
        <field name="type">tree</field>
        <field name="arch" type="xml">
            <field name="period_id" position="replace"/>
        </field>
    </record>

    <record id="view_banking_bank_statement_form_add_period" model="ir.ui.view">
        <field name="name">account.bank.statement.form.add_period</field>
        <field name="inherit_id" ref="account.view_bank_statement_form" />
        <field name="model">account.bank.statement</field>
        <field name="type">form</field>
        <field name="arch" type="xml">
            <xpath expr="/form/notebook/page[@string='Transaction']/field/tree/field[@name='ref']" position="after">
                <field name="period_id"/>
            </xpath>
        </field>
    </record>
    <record id="view_banking_bank_statement_add_period_2" model="ir.ui.view">
        <field name="name">account.bank.statement.form.add_period2</field>
        <field name="inherit_id" ref="account.view_bank_statement_form" />
        <field name="model">account.bank.statement</field>
        <field name="type">form</field>
        <field name="arch" type="xml">
            <data>
                <xpath expr="/form/notebook/page[@string='Transaction']/field/form/field[@name='ref']" position="after">
                    <field name="period_id"/>
                </xpath>
            </data>
        </field>
    </record>
    
    <record model="ir.ui.view" id="id_in_statement_line">
        <field name="name">account.bank.statement.line.inherit</field>
        <field name="model">account.bank.statement</field>
        <field name="inherit_id" ref="account.view_bank_statement_periodic_form"/>
        <field name="priority" eval="30"/>
        <field name="arch" type="xml">
                <xpath expr="/form/notebook/page[@string='Journal Entries']/field/tree/field[@name='ref']" position="before">
                    <field name="id" />
                </xpath>
        </field>
    </record>
    

</data>
</openerp>