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

« back to all changes in this revision

Viewing changes to account_mcdb/mcdb_view_account.xml

  • Committer: jf
  • Date: 2011-03-23 13:23:55 UTC
  • Revision ID: jf@tempo4-20110323132355-agyf1soy7m5ewatr
Initial Import

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
                    <group col="4" colspan="4">
2
 
                        <group col="2" colspan="2">
3
 
                            <group col="4" colspan="2">
4
 
                                <separator string="Accounts" colspan="3"/>
5
 
                                <field name="display_account" colspan="1" nolabel="1"/>
6
 
                            </group>
7
 
                            <group colspan="2" col="2" attrs="{'invisible': [('display_account', '=', False)]}">
8
 
                                <group colspan="2" col="2">
9
 
                                    <button name="button_account_clear" type="object" string="Remove all Accounts" icon="gtk-clear" colspan="1"/>
10
 
                                    <button name="button_account_add" type="object" string="Add all Accounts" icon="gtk-add" colspan="1"/>
11
 
                                </group>
12
 
                                <field name="rev_account_ids"/>
13
 
                                <field name="account_ids" colspan="2" nolabel="1" domain="[('parent_id', '!=', False)]">
14
 
                                    <tree string="Accounts" colors="blue:type in ('view');black:type not in ('view')" editable="top" noteditable="1">
15
 
                                        <field name="code"/>
16
 
                                        <field name="name"/>
17
 
                                        <field name="type" string="Type"/>
18
 
                                    </tree>
19
 
                                </field>
20
 
                            </group>
21
 
                        </group>
22
 
                        <group col="2" colspan="2">
23
 
                            <group col="4" colspan="2">
24
 
                                <separator string="Account types" colspan="3"/>
25
 
                                <field name="display_type" colspan="1" nolabel="1"/>
26
 
                            </group>
27
 
                            <group colspan="2" col="2" attrs="{'invisible': [('display_type', '=', False)]}">
28
 
                                <group col="2" colspan="2">
29
 
                                    <button name="button_account_type_clear" type="object" string="Remove all Account Types" icon="gtk-clear" colspan="1"/>
30
 
                                    <button name="button_account_type_add" type="object" string="Add all Account Types" icon="gtk-add" colspan="1"/>
31
 
                                </group>
32
 
                                <field name="rev_account_type_ids"/>
33
 
                                <field name="account_type_ids" colspan="2" nolabel="1">
34
 
                                    <tree string="Account types" editable="top" noteditable="1">
35
 
                                        <field name="code"/>
36
 
                                        <field name="name"/>
37
 
                                    </tree>
38
 
                                </field>
39
 
                            </group>
40
 
                        </group>
41
 
                    </group>
42
 
                    <group colspan="2" col="2">
43
 
                        <html>
44
 
                            <br />
45
 
                        </html>
46
 
                    </group>