60 lines
3.1 KiB
XML
60 lines
3.1 KiB
XML
<openerp>
|
|
<data>
|
|
<record id="view_base_contact_installer" model="ir.ui.view">
|
|
<field name="name">base.contact.installer.view</field>
|
|
<field name="model">base.contact.installer</field>
|
|
<field name="type">form</field>
|
|
<field name="inherit_id" ref="base.res_config_installer"/>
|
|
<field name="arch" type="xml">
|
|
<data>
|
|
<form position="attributes">
|
|
<attribute name="string">Address's Migration to Contacts</attribute>
|
|
</form>
|
|
|
|
<separator string="title" position="attributes">
|
|
<attribute name="string">Select the Option for Addresses Migration</attribute>
|
|
</separator>
|
|
<xpath expr="//label[@string='description']" position="attributes">
|
|
<attribute name="string">You can migrate Partner's current addresses to the contact.</attribute>
|
|
</xpath>
|
|
<xpath expr="//separator[@string="vsep"]" position="attributes">
|
|
<attribute name="rowspan">13</attribute>
|
|
<attribute name="string"/>
|
|
</xpath>
|
|
<xpath expr="//button[@string='Install Modules']" position="attributes">
|
|
<attribute name="string">Configure</attribute>
|
|
</xpath>
|
|
<group colspan="8">
|
|
<group colspan="2" col="2">
|
|
<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"/>
|
|
<label string="Otherwise these details will not be visible from address/contact." colspan="4"/>
|
|
<label string="Do you want to migrate your Address data in Contact Data?" colspan="4"/>
|
|
<group colspan="6">
|
|
<field name="migrate" string="Migrate" colspan="1"/>
|
|
</group>
|
|
</group>
|
|
</group>
|
|
</data>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_base_contact_installer" model="ir.actions.act_window">
|
|
<field name="name">Address Migration</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">base.contact.installer</field>
|
|
<field name="view_id" ref="view_base_contact_installer"/>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="target">new</field>
|
|
</record>
|
|
|
|
<record id="base_contact_installer_todo" model="ir.actions.todo">
|
|
<field name="action_id" ref="action_base_contact_installer"/>
|
|
<field name="category_id" ref="base.category_administration_config"/>
|
|
<field name="sequence">3</field>
|
|
<field name="type">automatic</field>
|
|
</record>
|
|
|
|
</data>
|
|
</openerp>
|