__init__.py 388 B

12345678910111213
  1. # -*- coding: utf-8 -*-
  2. # Part of Odoo. See LICENSE file for full copyright and licensing details.
  3. # Copyright (C) 2007-2014 Jeff Wang(<http://jeff@osbzr.com>).
  4. from . import models
  5. from odoo import api, SUPERUSER_ID
  6. def load_translations(cr, registry):
  7. env = api.Environment(cr, SUPERUSER_ID, {})
  8. env.ref('l10n_cn.l10n_chart_china_small_business').process_coa_translations()