[FIX] convert ir.actions.todo fields to match model definition 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']" position="attributes">
18                         <attribute name="string">You can migrate Partner's current addresses to the contact.</attribute>
19                     </xpath>
20                     <xpath expr="//separator[@string=&quot;vsep&quot;]" position="attributes">
21                         <attribute name="rowspan">13</attribute>
22                         <attribute name="string"/>
23                     </xpath>
24                     <xpath expr="//button[@string='Install Modules']" position="attributes">
25                         <attribute name="string">Configure</attribute>
26                     </xpath>
27                     <group colspan="8">
28                         <group colspan="2" col="2">
29                             <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"/>
30                             <label string="Otherwise these details will not be visible from address/contact." colspan="4"/>
31                             <label string="Do you want to migrate your Address data in Contact Data?" colspan="4"/>
32                             <group colspan="6">
33                                 <field name="migrate" string="Migrate" colspan="1"/>
34                             </group>
35                         </group>
36                     </group>
37                 </data>
38             </field>
39         </record>
40
41         <record id="action_base_contact_installer" model="ir.actions.act_window">
42             <field name="name">Address Migration</field>
43             <field name="type">ir.actions.act_window</field>
44             <field name="res_model">base.contact.installer</field>
45             <field name="view_id" ref="view_base_contact_installer"/>
46             <field name="view_type">form</field>
47             <field name="view_mode">form</field>
48             <field name="target">new</field>
49         </record>
50
51         <record id="base_contact_installer_todo" model="ir.actions.todo">
52             <field name="action_id" ref="action_base_contact_installer"/>
53             <field name="category_id" ref="base.category_administration_config"/>
54             <field name="sequence">3</field>
55             <field name="type">automatic</field>
56         </record>
57
58     </data>
59 </openerp>