mirror of
https://github.com/bringout/oca-ocb-l10n_europe.git
synced 2026-04-27 00:02:00 +02:00
7 lines
296 B
Python
7 lines
296 B
Python
from odoo import api, SUPERUSER_ID
|
|
|
|
|
|
def migrate(cr, version):
|
|
env = api.Environment(cr, SUPERUSER_ID, {})
|
|
for company in env['res.company'].search([('chart_template', '=', 'se')], order="parent_path"):
|
|
env['account.chart.template'].try_loading('se', company, force_create=False)
|