diff options
| author | Christophe Simonis <chs@odoo.com> | 2017-10-31 12:07:15 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2017-10-31 12:07:15 +0100 |
| commit | a0157f104f7ff94728af20702858b390d771d698 (patch) | |
| tree | 76003492d182a64389a62127701c99457983d874 /addons/l10n_th | |
| parent | a2890c1e76c9c73d80689f78aa2e6665ecdc9f31 (diff) | |
| parent | dcce040a637cafb6129ae483d4e31b64dd2070b3 (diff) | |
[MERGE] forward port branch 10.0 up to dcce040a637
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 e2b62ee77e8..2f1d26a4a49 100644 --- a/addons/l10n_th/__manifest__.py +++ b/addons/l10n_th/__manifest__.py @@ -18,4 +18,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', } |
