~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to account_mcdb/account_mcdb_view.xml

  • Committer: Quentin THEURET
  • Date: 2012-02-02 10:10:59 UTC
  • mto: This revision was merged to the branch mainline in revision 587.
  • Revision ID: qt@tempo-consulting.fr-20120202101059-y8gkodfqbdmf93sb
UF-716 [IMP] Change columns titles

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
 
    <!-- Account Multi-Criteria Data Browser Form -->
6
 
        <record model="ir.ui.view" id="account_mcdb_form">
7
 
            <field name="name">account.mcdb.form</field>
8
 
            <field name="model">account.mcdb</field>
9
 
            <field name="type">form</field>
10
 
            <field name="arch" type="xml">
11
 
                <form string="Journal Items MCDB" hide_new_button="1" hide_duplicate_button="1" hide_delete_button="1">
12
 
                    <separator string="General"/>
13
 
                    <group col="4" colspan="6">
14
 
                        <field name="company_id" widget="selection" colspan="2"/><label string="" colspan="4"/>
15
 
                        <field name="posting_date_from" colspan="1" string="Posting date"/>
16
 
                        <field name="posting_date_to" colspan="1" string="to"/>
17
 
                        <field name="document_date_from" colspan="1" string="Document date"/>
18
 
                        <field name="document_date_to" colspan="1" string="to"/>
19
 
                    </group>
20
 
                    <separator string="Accounting"/>
21
 
                    <group col="4" colspan="6">
22
 
                        <field name="abs_id" colspan="2" attrs="{'invisible': [('model', '!=', 'account.move.line')]}"/>
23
 
                        <group col="4" colspan="6" attrs="{'invisible': [('model', '!=', 'account.move.line')]}">
24
 
                            <field name="journal_ids" colspan="2" nolabel="1">
25
 
                                <tree string="Journal">
26
 
                                    <field name="code"/>
27
 
                                    <field name="name" string="Name"/>
28
 
                                    <field name="type"/>
29
 
                                </tree>
30
 
                            </field>
31
 
                            <field name="period_ids" colspan="2" nolabel="1">
32
 
                                <tree string="Period">
33
 
                                    <field name="name" string="Name"/>
34
 
                                    <field name="date_start" string="Start"/>
35
 
                                    <field name="date_stop" string="Stop"/>
36
 
                                    <field name="state"/>
37
 
                                </tree>
38
 
                            </field>
39
 
                        </group>
40
 
                        <group col="4" colspan="6" attrs="{'invisible': [('model', '=', 'account.move.line')]}">
41
 
                            <field name="analytic_journal_ids" colspan="2" nolabel="1">
42
 
                                <tree string="Analytic Journal">
43
 
                                    <field name="code"/>
44
 
                                    <field name="name" string="Name"/>
45
 
                                    <field name="type"/>
46
 
                                </tree>
47
 
                            </field>
48
 
                            <label string="" colspan="2"/>
49
 
                        </group>
50
 
                    </group>
51
 
                    <separator string="Account"/>
52
 
                    <group col="4" colspan="6">
53
 
                        <field name="rev_account_ids"/>
54
 
                        <newline/>
55
 
                        <group col="4" colspan="6">
56
 
                            <field name="account_ids" colspan="2" nolabel="1">
57
 
                                <tree string="Accounts" colors="blue:type in ('view');black:type not in ('view')">
58
 
                                    <field name="code"/>
59
 
                                    <field name="name"/>
60
 
                                    <field name="type" string="Type"/>
61
 
                                </tree>
62
 
                            </field>
63
 
                            <field name="account_type_ids" colspan="2" nolabel="1">
64
 
                                <tree string="Account type">
65
 
                                    <field name="code"/>
66
 
                                    <field name="name"/>
67
 
                                </tree>
68
 
                            </field>
69
 
                            <newline/>
70
 
                            <field name="rev_analytic_account_ids" attrs="{'invisible': [('model', '=', 'account.move.line')]}"/>
71
 
                            <newline/>
72
 
                            <field name="analytic_account_ids" colspan="2" nolabel="1" attrs="{'invisible': [('model', '=', 'account.move.line')]}">
73
 
                                <tree string="Analytic Accounts">
74
 
                                    <field name="code" string="Ana. Code"/>
75
 
                                    <field name="name" string="Ana. Name"/>
76
 
                                    <field name="type" string="Ana. Type"/>
77
 
                                </tree>
78
 
                            </field>
79
 
                        </group>
80
 
                        <group col="4" colspan="6" attrs="{'invisible': [('model', '!=', 'account.move.line')]}">
81
 
                            <separator string="Reconciliation"/>
82
 
                            <field name="reconciled"/><field name="reconcile_id"/>
83
 
                        </group>
84
 
                        <group col="4" colspan="6" attrs="{'invisible': [('model', '=', 'account.move.line')]}">
85
 
                            <separator string="Reallocation"/>
86
 
                            <field name="reallocated"/><field name="reversed"/>
87
 
                        </group>
88
 
                    </group>
89
 
                    <separator string="Amount &amp; Currency"/>
90
 
                    <group col="8" colspan="6">
91
 
                        <field name="currency_choice" colspan="2" on_change="onchange_currency_choice(currency_choice, functional_currency_id, amount_from, amount_to)"/>
92
 
                        <field name="currency_id" attrs="{'readonly': [('currency_choice', '=', 'functional')]}" widget="selection" colspan="2" on_change="onchange_currency(currency_choice, currency_id)" domain="[('currency_table_id', '=', False)]"/>
93
 
                        <field name="amount_from" string="Amount" colspan="2" on_change="onchange_amount(currency_choice, amount_from, 'from')"/>
94
 
                        <field name="amount_to" string="to" colspan="2" on_change="onchange_amount(currency_choice, amount_to, 'to')"/>
95
 
                        <newline/>
96
 
                        <field name="fx_table_id" colspan="2" on_change="onchange_fx_table(fx_table_id)"/>
97
 
                        <field name="display_in_output_currency" colspan="2" domain="[('active', 'in', ['True', 'False']), ('currency_table_id', '=', fx_table_id)]"/>
98
 
                    </group>
99
 
                    <group col="6" colspan="6">
100
 
                        <field name="functional_currency_id" colspan="2" invisible="1"/>
101
 
                        <field name="amount_func_from" string="Amount" colspan="2" invisible="1"/>
102
 
                        <field name="amount_func_to" string="to" colspan="2" invisible="1"/>
103
 
                        <field name="booking_currency_id" widget="selection" colspan="2" invisible="1"/>
104
 
                        <field name="amount_book_from" string="Amount" colspan="2" invisible="1"/>
105
 
                        <field name="amount_book_to" string="to" colspan="2" invisible="1"/>
106
 
                    </group>
107
 
                    <group col="6" colspan="6" attrs="{'invisible': [('model', '!=', 'account.move.line')]}">
108
 
                        <separator string="Third Party" colspan="6"/>
109
 
                        <field name="partner_id" colspan="2"/>
110
 
                        <field name="employee_id" colspan="2"/>
111
 
                        <field name="register_id" colspan="2"/>
112
 
                    </group>
113
 
                    <separator string="Others"/>
114
 
                    <group col="4" colspan="6">
115
 
                        <field name="ref" colspan="2"/>
116
 
                        <field name="name" colspan="2"/>
117
 
                    </group>
118
 
                    <separator string=" "/>
119
 
                    <group col="4" colspan="6">
120
 
                        <button name="button_clear" type="object" string="Clear" icon="gtk-clear" colspan="2"/>
121
 
                        <button name="button_validate" type="object" string="Search" icon="gtk-ok" colspan="2"/>
122
 
                    </group>
123
 
                    <field name="model" invisible="1"/>
124
 
                </form>
125
 
            </field>
126
 
        </record>
127
 
 
128
 
    <!-- Actions -->
129
 
        <record id="action_account_mcdb_form" model="ir.actions.act_window">
130
 
            <field name="name">Journal Items MCDB</field>
131
 
            <field name="res_model">account.mcdb</field>
132
 
            <field name="view_type">form</field>
133
 
            <field name="view_mode">form</field>
134
 
            <field name="view_id" ref="account_mcdb_form"/>
135
 
        </record>
136
 
 
137
 
        <record id="action_account_mcdb_analytic_form" model="ir.actions.act_window">
138
 
            <field name="name">Analytic Journal Items MCDB</field>
139
 
            <field name="res_model">account.mcdb</field>
140
 
            <field name="view_type">form</field>
141
 
            <field name="view_mode">form</field>
142
 
            <field name="view_id" ref="account_mcdb_form"/>
143
 
            <field name="context">{'from': 'account.analytic.line'}</field>
144
 
        </record>
145
 
 
146
 
    <!-- Menu -->
147
 
        <menuitem id="menu_finance_mcdb" name="Multi-Criteria Data Browser" parent="account.menu_finance" sequence="12"/>
148
 
        <menuitem string="Journal Items MCDB" action="action_account_mcdb_form" id="menu_finance_mcdb_move_line" parent="menu_finance_mcdb" sequence="1"/>
149
 
        <menuitem string="Analytic Journal Items MCDB" action="action_account_mcdb_analytic_form" id="menu_finance_mcdb_analytic_move_line" parent="menu_finance_mcdb" sequence="2"/>
150
 
 
151
 
    </data>
152
 
</openerp>