~camptocamp/c2c-financial-addons/trunk

« back to all changes in this revision

Viewing changes to account_statement_ext/statement_view.xml

  • Committer: Joël Grand-Guillaume
  • Date: 2012-06-11 06:13:37 UTC
  • Revision ID: joel.grandguillaume@camptocamp.com-20120611061337-n1yji5we5subxb70
[MRG] From last dev on customer branch: finaly we override the way the bank statement work instead of having another object. You have now profil on bank statement to configure the generated entries once posted.

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
 
   
5
 
    <record id="view_bank_statement_form" model="ir.ui.view">
6
 
        <field name="name">account.bank.statement.form</field>
7
 
        <field name="model">account.bank.statement</field>
8
 
        <field name="inherit_id" ref="account.view_bank_statement_form"/>
9
 
        <field name="type">form</field>
10
 
        <field name="arch" type="xml">
11
 
            <field name="period_id" position="replace"/>
12
 
        </field>
13
 
    </record>
14
 
    <record id="view_banking_bank_statement_tree" model="ir.ui.view">
15
 
        <field name="name">account.bank.statement.tree.banking</field>
16
 
        <field name="inherit_id" ref="account.view_bank_statement_tree" />
17
 
        <field name="model">account.bank.statement</field>
18
 
        <field name="type">tree</field>
19
 
        <field name="arch" type="xml">
20
 
            <field name="period_id" position="replace"/>
21
 
        </field>
22
 
    </record>
23
 
 
24
 
    <record id="view_banking_bank_statement_form_add_period" model="ir.ui.view">
25
 
        <field name="name">account.bank.statement.form.add_period</field>
26
 
        <field name="inherit_id" ref="account.view_bank_statement_form" />
27
 
        <field name="model">account.bank.statement</field>
28
 
        <field name="type">form</field>
29
 
        <field name="arch" type="xml">
30
 
            <xpath expr="/form/notebook/page[@string='Transaction']/field/tree/field[@name='ref']" position="after">
31
 
                <field name="period_id"/>
32
 
            </xpath>
33
 
        </field>
34
 
    </record>
35
 
    <record id="view_banking_bank_statement_add_period_2" model="ir.ui.view">
36
 
        <field name="name">account.bank.statement.form.add_period2</field>
37
 
        <field name="inherit_id" ref="account.view_bank_statement_form" />
38
 
        <field name="model">account.bank.statement</field>
39
 
        <field name="type">form</field>
40
 
        <field name="arch" type="xml">
41
 
            <data>
42
 
                <xpath expr="/form/notebook/page[@string='Transaction']/field/form/field[@name='ref']" position="after">
43
 
                    <field name="period_id"/>
44
 
                </xpath>
45
 
            </data>
46
 
        </field>
47
 
    </record>
48
 
    
49
 
    <record model="ir.ui.view" id="id_in_statement_line">
50
 
        <field name="name">account.bank.statement.line.inherit</field>
51
 
        <field name="model">account.bank.statement</field>
52
 
        <field name="inherit_id" ref="account.view_bank_statement_periodic_form"/>
53
 
        <field name="priority" eval="30"/>
54
 
        <field name="arch" type="xml">
55
 
                <xpath expr="/form/notebook/page[@string='Journal Entries']/field/tree/field[@name='ref']" position="before">
56
 
                    <field name="id" />
57
 
                </xpath>
58
 
        </field>
59
 
    </record>
60
 
    
61
 
 
62
 
</data>
63
 
</openerp>