odoo/openerp/addons
Sylvain GARANCHER 80b373f1e5 [FIX] ir_model: Fixed XML data recreation when inherited part are not deleted
Description: When updating the product module, if the "Service"
product.product has been deleted, but not the corresponding
"product.template" part, the update will crash on a "duplicate xml id"
error.

This commit fixes the bug by :
- Adding the link to existing inherited model xml id in values
- Avoid creating the duplicated XML ID

If the XML ID is found, but orphan, it's simply deleted.

Closes #8966
opw-658454
2015-12-14 11:46:49 +01:00
..
base [FIX] ir_model: Fixed XML data recreation when inherited part are not deleted 2015-12-14 11:46:49 +01:00
test_access_rights [ADD] demonstrate broken handling of rules access denial in new API 2014-07-11 13:54:01 +02:00
test_convert [FIX] remove deprecated checks/fast_suite test attributes from standard modules 2015-01-15 14:31:40 +01:00
test_converter [FIX] report,qweb: use non-beaking space between amount and currency 2015-05-05 08:27:04 +02:00
test_documentation_examples [FIX] remove deprecated checks/fast_suite test attributes from standard modules 2015-01-15 14:31:40 +01:00
test_exceptions [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
test_impex [FIX] YAML: `!menuitem` tag handling 2015-09-28 17:15:38 +02:00
test_inherit [FIX] fields: make overriding a property field by a function/computed field work 2015-10-26 17:25:47 +01:00
test_inherits [FIX] model: wrong alias used in read query for multi-inherited field 2015-05-12 13:42:27 +02:00
test_limits move tests 2014-02-09 01:37:45 +01:00
test_new_api [FIX] osv: fix boolean in domain for custom field 2015-12-04 16:31:31 +01:00
test_uninstall [REM] Unnecessary `size` parameters on char fields 2014-06-25 17:13:43 +02:00
test_workflow [FIX] remove deprecated checks/fast_suite test attributes from standard modules 2015-01-15 14:31:40 +01:00
__init__.py move tests 2014-02-09 01:37:45 +01:00