[IMP]:configuration wizards
[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 custiomise 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'>25</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" required="True"/><field name="account_no"/>
28                             <field name="currency" widget="selection"/><field name="street"/>
29                             <field name="zip"/>
30                             <field name="street2"/>
31                             <field name="city"/>
32                             <field name="country_id"/>
33                             <field name="state_id"/>
34                             <field name="email"/>
35                             <field name="phone"/>
36                             <field name="website"/>
37                                 </group>
38                                 <newline/>
39                                 <group colspan="2" groups="base.group_extended">
40                             <separator string="Report Information" colspan="4"/>
41                             <field name="rml_header1" colspan="5"/>
42                             <field name="rml_footer1" colspan="5"/>
43                             <field name="rml_footer2" colspan="5"/>
44
45                             <separator colspan="4"
46                                        string="Your Logo - Use a size of about 450x150 pixels."/>
47                             <field colspan="5" name="logo" widget="image"
48                                    nolabel="1"/>
49                           </group>
50                 </group>
51                </group>
52
53           <xpath expr='//button[@name="action_skip"]' position='replace'/>
54         </data>
55       </field>
56     </record>
57
58     <record id="action_base_setup_company" model="ir.actions.act_window">
59       <field name="name">Setup company information</field>
60       <field name="type">ir.actions.act_window</field>
61       <field name="res_model">base.setup.company</field>
62       <field name="view_id" ref="view_base_setup_company"/>
63       <field name="view_type">form</field>
64       <field name="view_mode">form</field>
65       <field name="target">new</field>
66     </record>
67
68     <record id="base_setup_company_todo" model="ir.actions.todo">
69         <field name="action_id" ref="action_base_setup_company"/>
70         <field name="sequence">1</field>
71         <field name="restart">onskip</field>
72     </record>
73   </data>
74 </openerp>