diff options
| author | Cédric Snauwaert <csn@openerp.com> | 2015-09-30 09:30:46 +0200 |
|---|---|---|
| committer | qdp-odoo <qdp@odoo.com> | 2015-09-30 09:30:46 +0200 |
| commit | c2f0e915fe72a2a01cd900f81c1216e02fb67f4d (patch) | |
| tree | e10c8fb6ffee9199374f096a2e20721a333dd223 /addons/l10n_ch/__init__.py | |
| parent | 4890715171ed48f76e68738016aad5b246be9f0b (diff) | |
[FIX] l10n_multilang: module adapted to new accounting and the fact that localization modules generate the objects from the templates directly at the installation (which was before the translation were loaded for the templates in previous version). Was PR #8455
Diffstat (limited to 'addons/l10n_ch/__init__.py')
| -rw-r--r-- | addons/l10n_ch/__init__.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/l10n_ch/__init__.py b/addons/l10n_ch/__init__.py index 02e36b8822a..f7bd52fa93d 100644 --- a/addons/l10n_ch/__init__.py +++ b/addons/l10n_ch/__init__.py @@ -6,3 +6,8 @@ # Prisme Solutions Informatique SA, Quod SA # Translation contributors: brain-tec AG, Agile Business Group +from openerp import SUPERUSER_ID + +def load_translations(cr, registry): + chart_template = registry['ir.model.data'].xmlid_to_object(cr, SUPERUSER_ID, 'l10n_ch.l10nch_chart_template') + chart_template.process_coa_translations()
\ No newline at end of file |
