Several modules defines records with the external ID `base.foo_bar` while it is created inside this module (typically menus and groups). While there is no technical reasons to do so but this may introduce issues: - these records will not be deleted during uninstall - if a language is loaded before the installation of the module, it won't be translated The uninstallation will only remove the records with an external id linked to this module (these would only be removed when removing base). Installing a language before the module will drop the translations not linked to an existing external id (as it can not be resolved). This commit correct all the external ids tagged as from base or other incorrect modules.
39 lines
1.3 KiB
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 & 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>
|