odoo/addons/l10n_ca/__init__.py

12 lines
375 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
# Copyright (C) 2010 Savoir-faire Linux (<https://www.savoirfairelinux.com>).
from odoo import api, SUPERUSER_ID
def load_translations(cr, registry):
env = api.Environment(cr, SUPERUSER_ID, {})
env.ref('l10n_ca.ca_en_chart_template_en').process_coa_translations()