diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-06-05 16:27:49 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-06-05 16:27:49 +0200 |
| commit | aba8c2b8fbfb024652f0a080c657eb2369088eda (patch) | |
| tree | bbb10ed85d2ae7f0bc1e77234fc1d24d9067de8d /addons/l10n_generic_coa | |
| parent | fc5e61b63d1357f4c89e68e108de1ade21db724f (diff) | |
| parent | 1b272a20504e16e0c170ea717f5bcf63d38e7cb5 (diff) | |
[MERGE] forward port branch 11.0 up to 1b272a20504
Diffstat (limited to 'addons/l10n_generic_coa')
| -rw-r--r-- | addons/l10n_generic_coa/__init__.py | 6 | ||||
| -rw-r--r-- | addons/l10n_generic_coa/__manifest__.py | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/addons/l10n_generic_coa/__init__.py b/addons/l10n_generic_coa/__init__.py index 67dee8c60db..d417dc6807c 100644 --- a/addons/l10n_generic_coa/__init__.py +++ b/addons/l10n_generic_coa/__init__.py @@ -1,2 +1,8 @@ # -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. + + +def uninstall_hook(cr, registry): + cr.execute( + "DELETE FROM ir_model_data WHERE module = 'l10n_generic_coa'" + ) diff --git a/addons/l10n_generic_coa/__manifest__.py b/addons/l10n_generic_coa/__manifest__.py index 314e13f44ff..2f04d8df530 100644 --- a/addons/l10n_generic_coa/__manifest__.py +++ b/addons/l10n_generic_coa/__manifest__.py @@ -24,4 +24,5 @@ Install some generic chart of accounts. 'data/account_invoice_demo.xml', ], 'website': 'https://www.odoo.com/page/accounting', + 'uninstall_hook': 'uninstall_hook', } |
