[MERGE] merged dev branch
[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">Company Configuration</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">Company Configuration</attribute>
12           </form>
13           <xpath expr="//label[@string='description']" position="attributes">
14                 <attribute name="string">Your company information will be used to personalize documents issued with OpenERP such as invoices, sales orders and much more.</attribute>
15           </xpath>
16           <xpath expr='//separator[@string="title"]' position='attributes'>
17                     <attribute name='string'>Configure Your Company Information</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="website"/>
28                     <field name="street"/><field name="street2"/>
29                     <field name="zip"/>
30                     <field name="city"/>
31                     <field name="country_id"/>
32                     <field name="state_id"/>
33                     <field name="phone"/>
34                     <field name="email"/>
35                     <field name="account_no"/>
36                     <field name="currency" widget="selection"/>
37                 </group>
38                 <newline/>
39                 <group colspan="2">
40                     <field name="rml_header1" colspan="5" invisible="1" groups="base.group_extended"/>
41                     <field name="rml_footer1" colspan="5" invisible="1" groups="base.group_extended"/>
42                     <field name="rml_footer2" colspan="5" invisible="1" groups="base.group_extended"/>
43                   </group>
44             </group>
45            </group>
46
47           <xpath expr='//button[@name="action_skip"]' position='replace'/>
48         </data>
49       </field>
50     </record>
51
52     <record id="action_base_setup_company" model="ir.actions.act_window">
53       <field name="name">Company Configuration</field>
54       <field name="type">ir.actions.act_window</field>
55       <field name="res_model">res.company</field>
56       <field name="view_id" ref="base.view_company_form"/>
57       <field name="view_type">form</field>
58       <field name="view_mode">form</field>
59     </record>
60
61     <record id="base_setup_company_todo" model="ir.actions.todo">
62         <field name="action_id" ref="action_base_setup_company"/>
63         <field name="sequence">1</field>
64         <field name="type">normal</field>
65         <field name="state">skip</field>
66     </record>
67  
68   </data>
69 </openerp>