diff options
| author | Christophe Simonis <chs@odoo.com> | 2017-10-31 11:47:35 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2017-10-31 11:47:35 +0100 |
| commit | dcce040a637cafb6129ae483d4e31b64dd2070b3 (patch) | |
| tree | fd535f990f80693d72b2296f1dfe69354abd0dca /addons/l10n_vn | |
| parent | 2c61c54ffa67552f7731c9802853ef33197fc1fd (diff) | |
| parent | f41690538dc15ecee2918a316f52c03683e88004 (diff) | |
[MERGE] forward port branch 9.0 up to f41690538dc
Diffstat (limited to 'addons/l10n_vn')
| -rw-r--r-- | addons/l10n_vn/__init__.py | 5 | ||||
| -rw-r--r-- | addons/l10n_vn/__manifest__.py | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/addons/l10n_vn/__init__.py b/addons/l10n_vn/__init__.py index 34293fdfe8d..490754ae534 100644 --- a/addons/l10n_vn/__init__.py +++ b/addons/l10n_vn/__init__.py @@ -2,3 +2,8 @@ # Part of Odoo. See LICENSE file for full copyright and licensing details. # This module is Copyright (c) 2009-2013 General Solutions (http://gscom.vn) All Rights Reserved. + + +def _preserve_tag_on_taxes(cr, registry): + from odoo.addons.account.models.chart_template import preserve_existing_tags_on_taxes + preserve_existing_tags_on_taxes(cr, registry, 'l10n_vn') diff --git a/addons/l10n_vn/__manifest__.py b/addons/l10n_vn/__manifest__.py index ba785e72388..1f318b54b8a 100644 --- a/addons/l10n_vn/__manifest__.py +++ b/addons/l10n_vn/__manifest__.py @@ -28,5 +28,6 @@ with Chart of account under Circular No. 200/2014/TT-BTC 'data/l10n_vn_chart_data.xml', 'data/account_tax_data.xml', 'data/account_chart_template_data.yml', - ] + ], + 'post_init_hook': '_preserve_tag_on_taxes', } |
