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/hr_expense/data | |
| 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/hr_expense/data')
| -rw-r--r-- | addons/hr_expense/data/hr_expense_demo.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/hr_expense/data/hr_expense_demo.xml b/addons/hr_expense/data/hr_expense_demo.xml index 1128b8ceffb..6c5b47c12b3 100644 --- a/addons/hr_expense/data/hr_expense_demo.xml +++ b/addons/hr_expense/data/hr_expense_demo.xml @@ -6,7 +6,7 @@ <field name="address_home_id" ref="base.res_partner_address_3"/> </record> - <record id="base.res_partner_address_fp" model="res.partner"> + <record id="res_partner_address_fp" model="res.partner"> <field name="name">Pieter Parter's Farm</field> <field name="parent_id" eval="ref('base.partner_root')"/> <field name="supplier">1</field> @@ -17,7 +17,7 @@ </record> <record id="hr.employee_root" model="hr.employee"> - <field name="address_home_id" ref="base.res_partner_address_fp"/> + <field name="address_home_id" ref="res_partner_address_fp"/> </record> <record id="car_travel" model="product.product"> |
