[MOD] Configuration wizard : small changes
[odoo/odoo.git] / addons / base_contact / base_contact_installer_view.xml
1 <openerp>
2     <data>
3         <record id="view_base_contact_installer" model="ir.ui.view">
4             <field name="name">base.contact.installer.view</field>
5             <field name="model">base.contact.installer</field>
6             <field name="type">form</field>
7             <field name="inherit_id" ref="base.res_config_installer"/>
8             <field name="arch" type="xml">
9                 <data>
10                     <form position="attributes">
11                         <attribute name="string">Address's Migration to Contacts</attribute>
12                     </form>
13
14                     <separator string="title" position="attributes">
15                         <attribute name="string">Select the Option for Addresses Migration</attribute>
16                     </separator>
17                     <xpath expr="//label[@string='description']"
18                     position="attributes">
19                         <attribute name="string">You can migrate Partner's current addresses to the contact.</attribute>
20                     </xpath>
21                     <xpath expr='//separator[@string="vsep"]' position='attributes'>
22                         <attribute name='rowspan'>13</attribute>
23                         <attribute name='string'></attribute>
24                     </xpath>
25                     <xpath expr="//button[@string='Install Modules']" position="attributes">
26                         <attribute name="string">Configure</attribute>
27                     </xpath>
28                     <group colspan="8">
29                         <group colspan="2" col="2">
30                             <label string="Due to changes in Address and Partner's relation, some of the details from address are needed to migrated into contact information." colspan="4"/>
31                             <label string="Otherwise these details will not be visible from address/contact."  colspan="4"/>
32                             <label string="Do you want to migrate your Address data in Contact Data?" colspan="4" />
33                             <group colspan="6">
34                                 <label string="Migrate:" colspan="1"/>
35                                 <field name="migrate" string="Yes" colspan="1"/>
36                                 <field name="nomigrate" string="No" colspan="1"/>
37                             </group>
38                         </group>
39                     </group>
40                 </data>
41             </field>
42         </record>
43
44         <record id="action_base_contact_installer" model="ir.actions.act_window">
45             <field name="name">Address Migration</field>
46             <field name="type">ir.actions.act_window</field>
47             <field name="res_model">base.contact.installer</field>
48             <field name="view_id" ref="view_base_contact_installer"/>
49             <field name="view_type">form</field>
50             <field name="view_mode">form</field>
51             <field name="target">new</field>
52         </record>
53
54         <record id="base_contact_installer_todo" model="ir.actions.todo">
55             <field name="action_id" ref="action_base_contact_installer"/>
56             <field name="sequence">3</field>
57         </record>
58
59     </data>
60 </openerp>