84 lines
3.3 KiB
XML
84 lines
3.3 KiB
XML
<?xml version="1.0"?>
|
|
<openerp>
|
|
<data>
|
|
|
|
<!-- Import Sugarcrm Form View -->
|
|
<record model="ir.ui.view" id="view_import_sugarcrm_form">
|
|
<field name="name">import.sugarcrm.form</field>
|
|
<field name="model">import.sugarcrm</field>
|
|
<field name="type">form</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Import Data From SugarCRM" version="7.0">
|
|
<header>
|
|
<button name="import_all" string="_Import"
|
|
type="object" icon="terp-camera_test"/>
|
|
<button name="import_from_scheduler_all" string="_Schedule Recurrent Imports"
|
|
type="object" icon="gtk-execute" />
|
|
<button icon="gtk-cancel" special="cancel" string="_Cancel"/>
|
|
</header>
|
|
<sheet>
|
|
<group col="8" >
|
|
<group colspan="5">
|
|
<separator string="Login Information" colspan="4"/>
|
|
<field name="url" colspan="2" widget="url"/>
|
|
<field name="username" colspan="2"/>
|
|
<field name="password" password="True" colspan="2"/>
|
|
|
|
<group colspan="4">
|
|
<separator string="Data to Import" colspan="4"/>
|
|
<group colspan="1" col="2">
|
|
<field name="user" />
|
|
<field name= "account" />
|
|
<field name= "contact" />
|
|
</group>
|
|
<group colspan="1" col="2">
|
|
<field name="opportunity" />
|
|
<field name= "call" />
|
|
<field name= "meeting" />
|
|
<field name= "claim" />
|
|
</group>
|
|
<group colspan="1" col="2">
|
|
<field name= "project" />
|
|
<field name= "project_task" />
|
|
<field name= "bug"/>
|
|
</group>
|
|
<group colspan="1" col="2">
|
|
<field name="employee" />
|
|
<field name="email_history"/>
|
|
<field name= "document" />
|
|
</group>
|
|
</group>
|
|
|
|
<group colspan="4">
|
|
<separator string="Email Notification When Import is Finished" colspan="2"/>
|
|
<field name="email_from" widget="email" string="Email Address to Notify" colspan="2"/>
|
|
</group>
|
|
|
|
<group colspan="4" groups="base.group_no_one">
|
|
<separator string="Multi Instance Management" colspan="4"/>
|
|
<field name="instance_name" colspan="2"/>
|
|
</group>
|
|
</group>
|
|
</group>
|
|
</sheet>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<!-- Import Sugarcrm Action -->
|
|
|
|
<record model="ir.actions.act_window" id="action_import_sugarcrm">
|
|
<field name="name">Import SugarCRM</field>
|
|
<field name="res_model">import.sugarcrm</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">tree,form</field>
|
|
<field name="view_id" ref="view_import_sugarcrm_form"/>
|
|
<field name="target">new</field>
|
|
</record>
|
|
|
|
|
|
<menuitem name="Import SugarCRM" id="menu_sugarcrm_import" parent="base.menu_import_crm" action="action_import_sugarcrm" icon="STOCK_EXECUTE" sequence="20"/>
|
|
|
|
</data>
|
|
</openerp>
|