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/data/website_data.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/data/website_data.xml')
| -rw-r--r-- | addons/website/data/website_data.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/website/data/website_data.xml b/addons/website/data/website_data.xml index e167bdae4d1..722a1d17ca9 100644 --- a/addons/website/data/website_data.xml +++ b/addons/website/data/website_data.xml @@ -30,21 +30,21 @@ <field name="website_id" ref="default_website"/> </record> - <record id="base.group_website_publisher" model="res.groups"> + <record id="group_website_publisher" model="res.groups"> <field name="name">Editor</field> <field name="category_id" ref="base.module_category_website"/> </record> <!-- Access rules to edit ir.ui.view with qWeb type --> - <record id="base.group_website_designer" model="res.groups"> + <record id="group_website_designer" model="res.groups"> <field name="name">Editor and Designer</field> <field name="users" eval="[(4, ref('base.user_root'))]"/> - <field name="implied_ids" eval="[(4, ref('base.group_website_publisher'))]"/> + <field name="implied_ids" eval="[(4, ref('group_website_publisher'))]"/> <field name="category_id" ref="base.module_category_website"/> </record> <record id="base.default_user" model="res.users"> - <field name="groups_id" eval="[(4,ref('base.group_website_designer'))]"/> + <field name="groups_id" eval="[(4,ref('group_website_designer'))]"/> </record> <record id="action_module_website" model="ir.actions.act_window"> |
