__init__.py 231 B

1234567
  1. from odoo import api, SUPERUSER_ID
  2. def load_translations(cr, registry):
  3. """Load template translations."""
  4. env = api.Environment(cr, SUPERUSER_ID, {})
  5. env.ref('l10n_lv.chart_template_latvia').process_coa_translations()