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.4 KiB
XML
39 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
<record id="crm.model_crm_lead" model="ir.model">
|
|
<field name="website_form_default_field_id" ref="crm.field_crm_lead_description" />
|
|
<field name="website_form_access">True</field>
|
|
<field name="website_form_label">Create a lead</field>
|
|
</record>
|
|
<function model="ir.model.fields" name="formbuilder_whitelist">
|
|
<value>crm.lead</value>
|
|
<value eval="[
|
|
'contact_name',
|
|
'description',
|
|
'email_from',
|
|
'name',
|
|
'partner_name',
|
|
'phone',
|
|
]"/>
|
|
</function>
|
|
</data>
|
|
<data noupdate="1">
|
|
<record id="action_open_website" model="ir.actions.act_url">
|
|
<field name="name">Website Contact Form</field>
|
|
<field name="target">self</field>
|
|
<field name="url">/page/contactus</field>
|
|
</record>
|
|
|
|
<record id="base.open_menu" model="ir.actions.todo">
|
|
<field name="action_id" ref="action_open_website"/>
|
|
<field name="state">open</field>
|
|
</record>
|
|
|
|
<record model="crm.team" id="sales_team.salesteam_website_sales">
|
|
<field name="use_leads">True</field>
|
|
<field name="use_opportunities" eval="False"/>
|
|
</record>
|
|
</data>
|
|
</odoo>
|