diff options
| author | Martin Trigaux <mat@odoo.com> | 2016-09-02 13:23:43 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2016-09-02 16:14:26 +0200 |
| commit | 11812b0b9e82b2b1b9041d8250ce01e7b4a5f7ee (patch) | |
| tree | 25e21b589d2bf45d2fdd2d4c65d94a707b00cc45 /addons/website_project/security/project_security.xml | |
| parent | e5f05074f8110b3282c558b6108fdc88b41d7522 (diff) | |
[FIX] all: remove external ids fakely from base
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.
Diffstat (limited to 'addons/website_project/security/project_security.xml')
| -rw-r--r-- | addons/website_project/security/project_security.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_project/security/project_security.xml b/addons/website_project/security/project_security.xml index 0e163b77dd2..18987be6dbf 100644 --- a/addons/website_project/security/project_security.xml +++ b/addons/website_project/security/project_security.xml @@ -2,7 +2,7 @@ <odoo> <data noupdate="1"> <!-- Portal --> - <record id="project.portal_project_rule" model="ir.rule"> + <record id="portal_project_rule" model="ir.rule"> <field name="name">Project: portal users: portal and following</field> <field name="model_id" ref="project.model_project_project"/> <field name="domain_force">[ @@ -13,7 +13,7 @@ <field name="groups" eval="[(4, ref('base.group_portal'))]"/> </record> - <record id="project.portal_task_rule" model="ir.rule"> + <record id="portal_task_rule" model="ir.rule"> <field name="name">Project/Task: portal users: (portal and following project) or (portal and following task)</field> <field name="model_id" ref="project.model_project_task"/> <field name="domain_force">[ |
