mirror of
https://github.com/bringout/oca-ocb-l10n_americas.git
synced 2026-04-27 12:12:04 +02:00
8 lines
351 B
Python
8 lines
351 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
from odoo import SUPERUSER_ID, api
|
|
|
|
|
|
def migrate(cr, version):
|
|
env = api.Environment(cr, SUPERUSER_ID, {})
|
|
for company in env['res.company'].search([('chart_template', '=', 'br')], order="parent_path"):
|
|
env['account.chart.template'].try_loading('br', company)
|