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_pl | |
| parent | 2c61c54ffa67552f7731c9802853ef33197fc1fd (diff) | |
| parent | f41690538dc15ecee2918a316f52c03683e88004 (diff) | |
[MERGE] forward port branch 9.0 up to f41690538dc
Diffstat (limited to 'addons/l10n_pl')
| -rw-r--r-- | addons/l10n_pl/__init__.py | 5 | ||||
| -rw-r--r-- | addons/l10n_pl/__manifest__.py | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/addons/l10n_pl/__init__.py b/addons/l10n_pl/__init__.py index 67dee8c60db..6575c176947 100644 --- a/addons/l10n_pl/__init__.py +++ b/addons/l10n_pl/__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_pl') diff --git a/addons/l10n_pl/__manifest__.py b/addons/l10n_pl/__manifest__.py index 8416f87a235..02253500138 100644 --- a/addons/l10n_pl/__manifest__.py +++ b/addons/l10n_pl/__manifest__.py @@ -28,4 +28,5 @@ Wewnętrzny numer wersji OpenGLOBE 1.02 'data/res_country_state_data.xml', 'data/account_chart_template_data.yml' ], + 'post_init_hook': '_preserve_tag_on_taxes', } |
