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.
50 lines
2.8 KiB
XML
50 lines
2.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="view_sale_config_settings" model="ir.ui.view">
|
|
<field name="name">crm settings</field>
|
|
<field name="model">sale.config.settings</field>
|
|
<field name="inherit_id" ref="sales_team.view_sale_config_settings"/>
|
|
<field name="arch" type="xml">
|
|
<div id="main" position="inside">
|
|
<group string="CRM" name="config_alias">
|
|
<label for="id" string="Leads Email Alias"/>
|
|
<div>
|
|
<div attrs="{'invisible': [('alias_domain', 'in', ['localhost', '', False])]}">
|
|
<p class="text-muted">
|
|
Each sales team has an email alias that
|
|
could be setup on the sales team form. You
|
|
can setup a generic email alias to create
|
|
incoming leads.
|
|
</p>
|
|
<field name="alias_prefix" class="oe_inline"/>
|
|
<span>@</span>
|
|
<field name="alias_domain" class="oe_inline" readonly="1"/>
|
|
</div>
|
|
<div attrs="{'invisible': [('alias_domain', 'not in', ['localhost', '', False])]}">
|
|
<button type="action"
|
|
name="base_setup.action_general_configuration"
|
|
string="Setup your domain alias" class="oe_link"/>
|
|
</div>
|
|
</div>
|
|
<field name="group_use_lead" widget="radio"/>
|
|
<label for="module_crm_voip" string="Voip integration"/>
|
|
<div>
|
|
<field name="module_crm_voip" widget="upgrade_boolean" class="oe_inline"/>
|
|
<label for="module_crm_voip" invisible="1"/>
|
|
<a href="https://www.odoo.com/slides/slide/voip-one-click-button-to-automate-calls-272" target="_blank"> More Info </a>
|
|
</div>
|
|
</group>
|
|
<group string="Odoo Sign" name="config_sign">
|
|
<label for="module_website_sign" string="Odoo Sign"/>
|
|
<div>
|
|
<field name="module_website_sign" widget="upgrade_boolean" class="oe_inline"/>
|
|
<label for="module_website_sign" invisible="1"/>
|
|
<a href="https://www.odoo.com/page/sign" target="_blank"> More Info </a>
|
|
</div>
|
|
</group>
|
|
</div>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|