summaryrefslogtreecommitdiff
path: root/addons/l10n_vn/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/l10n_vn/__init__.py')
-rw-r--r--addons/l10n_vn/__init__.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/addons/l10n_vn/__init__.py b/addons/l10n_vn/__init__.py
new file mode 100644
index 00000000..6a85e810
--- /dev/null
+++ b/addons/l10n_vn/__init__.py
@@ -0,0 +1,11 @@
+# -*- coding: utf-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.
+
+from odoo import api, SUPERUSER_ID
+
+
+def _post_init_hook(cr, registry):
+ env = api.Environment(cr, SUPERUSER_ID, {})
+ env.ref('l10n_vn.vn_template').process_coa_translations()