5 <!-- Import Sugarcrm Form View -->
6 <record model="ir.ui.view" id="view_import_sugarcrm_form">
7 <field name="name">import.sugarcrm.form</field>
8 <field name="model">import.sugarcrm</field>
9 <field name="type">form</field>
10 <field name="arch" type="xml">
11 <form string="Import Sugarcrm">
12 <group colspan="4" width="400" col="3">
13 <separator string="Select SugarCRM Module Name" colspan="4"/>
15 <field name="opportunity" />
17 <field name="username" invisible="1"/>
18 <field name="password" invisible="1"/>
20 <separator string="" colspan="4" />
22 <label string="" colspan="2"/>
23 <button icon="gtk-cancel" special="cancel" string="_Cancel"/>
24 <button name="import_all" string="Import"
25 type="object" icon="gtk-ok"/>
31 <!-- Import Sugarcrm Action -->
33 <record model="ir.actions.act_window" id="action_import_sugarcrm">
34 <field name="name">Import Sugarcrm</field>
35 <field name="res_model">import.sugarcrm</field>
36 <field name="view_type">form</field>
37 <field name="view_mode">tree,form</field>
38 <field name="view_id" ref="view_import_sugarcrm_form"/>
39 <field name="target">new</field>