[IMP]:account configurable wizards & gtk contact form
[odoo/odoo.git] / addons / base_setup / base_setup_todo.xml
1 <openerp>
2   <data>
3     <record id="view_base_setup_company" model="ir.ui.view">
4       <field name="name">Setup company information</field>
5       <field name="model">base.setup.company</field>
6       <field name="type">form</field>
7       <field name="inherit_id" ref="base.res_config_view_base"/>
8       <field name="arch" type="xml">
9         <data>
10           <form position="attributes">
11             <attribute name="string">Main Company Setup</attribute>
12           </form>
13                   <xpath expr="//label[@string='description']" position="attributes">
14                     <attribute name="string">Information of your company will be used to custiomize your documents like Invoices, Sale Orders,...</attribute>
15               </xpath>
16               <xpath expr='//separator[@string="title"]' position='attributes'>
17                           <attribute name='string'>Configure Your Company</attribute>
18               </xpath>
19               <xpath expr='//separator[@string="vsep"]' position='attributes'>
20                           <attribute name='rowspan'>23</attribute>
21                           <attribute name='string'></attribute>
22               </xpath>
23           <group string="res_config_contents" position="replace">
24                 <group colspan="5">
25                         <group colspan="2">
26                         <field name="company_id" invisible="1"/>
27                             <field name="name" colspan="4" required="True"/>
28                             <newline/>
29                             <field name="street"/>
30                             <field name="street2"/>
31                             <field name="zip"/>
32                             <field name="city"/>
33                             <field name="country_id"/>
34                             <field name="state_id"/>
35                             <field name="email"/>
36                             <field name="phone"/>
37                             <field name="currency" widget="selection"/>
38
39                             <separator string="Report Information" colspan="4"/>
40                             <field name="rml_header1" colspan="4"/>
41                             <field name="rml_footer1" colspan="4"/>
42                             <field name="rml_footer2" colspan="4"/>
43
44                             <separator colspan="4"
45                                        string="Your Logo - Use a size of about 450x150 pixels."/>
46                             <field colspan="4" name="logo" widget="image"
47                                    nolabel="1"/>
48                           </group>
49                 </group>
50                </group>
51
52           <xpath expr='//button[@name="action_skip"]' position='replace'/>
53         </data>
54       </field>
55     </record>
56
57     <record id="action_base_setup_company" model="ir.actions.act_window">
58       <field name="name">Setup company information</field>
59       <field name="type">ir.actions.act_window</field>
60       <field name="res_model">base.setup.company</field>
61       <field name="view_id" ref="view_base_setup_company"/>
62       <field name="view_type">form</field>
63       <field name="view_mode">form</field>
64       <field name="target">new</field>
65     </record>
66
67     <record id="base_setup_company_todo" model="ir.actions.todo">
68         <field name="action_id" ref="action_base_setup_company"/>
69         <field name="sequence">1</field>
70         <field name="restart">onskip</field>
71     </record>
72   </data>
73 </openerp>