diff options
| author | Christophe Simonis <chs@odoo.com> | 2017-10-31 16:29:07 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2017-10-31 16:29:07 +0100 |
| commit | 8f1e2044cd9dd0e3d5ab29f7527efdb0a9c7a582 (patch) | |
| tree | b531c2fbd3a85855c6691cb707435a3db89162e3 /addons/l10n_th | |
| parent | c8b2f5ca9ec0bbb5af06be8f8cf93122d08c41fe (diff) | |
| parent | 810b6aa7600bad6bba4d0fc67f04ecf4975193d5 (diff) | |
[MERGE] forward port branch saas-16 up to 810b6aa7600
Diffstat (limited to 'addons/l10n_th')
| -rw-r--r-- | addons/l10n_th/__init__.py | 5 | ||||
| -rw-r--r-- | addons/l10n_th/__manifest__.py | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/addons/l10n_th/__init__.py b/addons/l10n_th/__init__.py index 67dee8c60db..1b8d7518cd3 100644 --- a/addons/l10n_th/__init__.py +++ b/addons/l10n_th/__init__.py @@ -1,2 +1,7 @@ # -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. + + +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_th') diff --git a/addons/l10n_th/__manifest__.py b/addons/l10n_th/__manifest__.py index 548cc9dd626..e283dcfaace 100644 --- a/addons/l10n_th/__manifest__.py +++ b/addons/l10n_th/__manifest__.py @@ -19,4 +19,5 @@ Thai accounting chart and localization. 'data/l10n_th_chart_data.xml', 'data/account_chart_template_data.yml', ], + 'post_init_hook': '_preserve_tag_on_taxes', } |
