diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-06-07 11:43:07 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-06-07 11:43:07 +0200 |
| commit | 2ab7ad83618dcffd32b39e3a54ae500514444476 (patch) | |
| tree | ae4398707a5c1e126895a80429693599ba65dc17 /addons/l10n_generic_coa | |
| parent | e0591346a4ad4d256bc2e4e49bfa5a8e21f22f45 (diff) | |
| parent | c00df146547dca9c4dea6f39c1f0408ac84ec2d7 (diff) | |
[MERGE] forward port branch saas-11.3 up to c00df146547
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', } |
