Files
odoo_source/addons/l10n_ve/__init__.py
T
Maximilien (malb) 4b9894c4a4 [IMP] l10n_ve: Translation
All the localisation should be written in english and then translated to the native language of the country. In this case, the Venezuelian localisation was written is Spanish, this PR translate the module in english and add the corresponding PO file in spanish.

closes odoo/odoo#109494

Task-id: 3126154
Signed-off-by: Nicolas Viseur (vin) <vin@odoo.com>
2023-01-11 07:27:14 +01:00

8 lines
292 B
Python

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