You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1019 B
30 lines
1019 B
<?xml version="1.0"?>
|
|
<openerp>
|
|
<data>
|
|
|
|
<record id="crm_department_action" model="ir.actions.act_window">
|
|
<field name="name">Departments</field>
|
|
<field name="res_model">crm.department</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">tree</field>
|
|
</record>
|
|
|
|
<record id="crm_department_tree_view" model="ir.ui.view">
|
|
<field name="name">CRM department tree</field>
|
|
<field name="model">crm.department</field>
|
|
<field name="arch" type="xml">
|
|
<tree string="Departments" editable="bottom">
|
|
<field name="name"/>
|
|
<field name="parent_id"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<menuitem action="crm_department_action"
|
|
id="menu_crm_department"
|
|
name="Departments"
|
|
parent="base.menu_crm_config_lead"
|
|
sequence="3"/>
|
|
|
|
</data>
|
|
</openerp>
|