Files
odoo_source/addons/l10n_it/__init__.py
T
maximilien(malb) 1adb7b214d [FIX] l10n_it: translation
Ideally, we develop in English any localization (then translate to the domestic language, in this case Italian) All the module has been translated in english and then a .po file has been create to translate back in Italian

closes odoo/odoo#106693

Task-id: 3082347
Related: odoo/enterprise#34465
Signed-off-by: John Laterre (jol) <jol@odoo.com>
2022-12-07 18:29:04 +01:00

10 lines
323 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import models
from odoo import api, SUPERUSER_ID
def load_translations(cr, registry):
env = api.Environment(cr, SUPERUSER_ID, {})
env.ref('l10n_it.l10n_it_chart_template_generic').process_coa_translations()