~camptocamp/c2c-financial-addons/trunk

« back to all changes in this revision

Viewing changes to account_statement_ext/statement_view.xml

  • Committer: Alexandre Fayolle @ camptocamp
  • Date: 2012-08-13 12:15:30 UTC
  • mfrom: (30.1.1 c2c-financial-addons-trunk)
  • Revision ID: alexandre.fayolle@camptocamp.com-20120813121530-9z0o3evkthnnz2ml
[MRG] from fix_spelling branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
        </record>
27
27
        
28
28
    <record id="statement_importer_view_form" model="ir.ui.view">
29
 
        <field name="name">account.statement.profil.view</field>
30
 
        <field name="model">account.statement.profil</field>
 
29
        <field name="name">account.statement.profile.view</field>
 
30
        <field name="model">account.statement.profile</field>
31
31
        <field name="type">form</field>
32
32
        <field name="arch" type="xml">
33
33
            <form string="Import statement">
46
46
    </record>
47
47
 
48
48
    <record id="statement_importer_view_tree" model="ir.ui.view">
49
 
        <field name="name">account.statement.profil.view</field>
50
 
        <field name="model">account.statement.profil</field>
 
49
        <field name="name">account.statement.profile.view</field>
 
50
        <field name="model">account.statement.profile</field>
51
51
        <field name="type">tree</field>
52
52
        <field name="arch" type="xml">
53
53
            <tree string="Import statement">
62
62
            </tree>
63
63
        </field>
64
64
    </record>
65
 
    <record id="action_treasury_statement_profil_tree" model="ir.actions.act_window">
 
65
    <record id="action_treasury_statement_profile_tree" model="ir.actions.act_window">
66
66
        <field name="name">Bank Statements Profile</field>
67
 
        <field name="res_model">account.statement.profil</field>
 
67
        <field name="res_model">account.statement.profile</field>
68
68
        <field name="view_type">form</field>
69
69
        <field name="view_mode">tree,form</field>
70
70
    </record>
71
71
 
72
 
    <menuitem string="Bank Statements Profile" action="action_treasury_statement_profil_tree" id="menu_treasury_statement_profil_tree" parent="account.menu_configuration_misc" sequence="30"/>    
 
72
    <menuitem string="Bank Statements Profile" action="action_treasury_statement_profile_tree" id="menu_treasury_statement_profile_tree" parent="account.menu_configuration_misc" sequence="30"/>    
73
73
 
74
74
    <record model="ir.ui.view" id="id_in_statement_line">
75
75
        <field name="name">account.bank.statement.line.inherit</field>
130
130
            </xpath>
131
131
            <xpath expr="/form/group/field[@name='date']" position="replace">
132
132
            </xpath>
133
 
            <!-- Add a new group before the first one with name, profil and date -->
 
133
            <!-- Add a new group before the first one with name, profile and date -->
134
134
            <xpath expr="/form/group[@col='7']" position="before">
135
135
                <group col="6" colspan="4">
136
136
                    <field name="name" select="1"/>
139
139
                </group>
140
140
                <separator string="Details" colspan="4"/>
141
141
            </xpath>
142
 
            <!-- Make balance visible or not depending on profil -->
 
142
            <!-- Make balance visible or not depending on profile -->
143
143
            <xpath expr="/form/group/field[@name='balance_start']" position="replace">
144
144
            </xpath>
145
145
            <xpath expr="/form/group/field[@name='balance_end_real']" position="replace">
193
193
        <act_window id="act_bank_statement_from_profile"
194
194
            name="Open Statements" 
195
195
            res_model="account.bank.statement" 
196
 
            src_model="account.statement.profil" 
 
196
            src_model="account.statement.profile" 
197
197
            domain="[('profile_id','=',active_id),]"
198
198
            view_type="form"/>
199
199