[IMP]account,account_sequence,base_contact,document,document_ics,l10n_br,l10n_cr...
[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 be 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                                 <field name="migrate" string="Migrate" colspan="1"/>
35                             </group>
36                         </group>
37                     </group>
38                 </data>
39             </field>
40         </record>
41
42         <record id="action_base_contact_installer" model="ir.actions.act_window">
43             <field name="name">Address Migration</field>
44             <field name="type">ir.actions.act_window</field>
45             <field name="res_model">base.contact.installer</field>
46             <field name="view_id" ref="view_base_contact_installer"/>
47             <field name="view_type">form</field>
48             <field name="view_mode">form</field>
49             <field name="target">new</field>
50         </record>
51
52         <record id="base_contact_installer_todo" model="ir.actions.todo">
53             <field name="action_id" ref="action_base_contact_installer"/>
54             <field name="category_id" ref="base.category_administration_config"/>
55             <field name="sequence">3</field>
56             <field name="state">skip</field>
57             <field name="type">normal</field>
58         </record>
59
60     </data>
61 </openerp>