odoo/addons/crm/views/crm_views.xml

39 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Top menu item -->
<!--
This menu item's purpose is to overwrite another one defined in
the base module in order to set new groups.
-->
<menuitem
id="sales_team.menu_base_partner"
name="CRM"
groups="sales_team.group_sale_manager,sales_team.group_sale_salesman"
web_icon="crm,static/description/icon.png"
sequence="6"/>
<menuitem
id="menu_crm_config_lead"
name="Leads &amp; Opportunities"
parent="sales_team.menu_sale_config"
sequence="5"
groups="sales_team.group_sale_manager"/>
<menuitem
id="menu_crm_config_opportunity"
name="Opportunities"
parent="sales_team.menu_sale_config"
sequence="1"
groups="sales_team.group_sale_manager"/>
<!-- Make the xmlid of menus required by the CRM tour available in webclient -->
<record id="sales_team.menu_base_partner" model="ir.ui.menu">
<field name="load_xmlid" eval="True"/>
</record>
<record id="base.menu_administration" model="ir.ui.menu">
<field name="load_xmlid" eval="True"/>
</record>
</odoo>