flectra/addons/base_branch_company/migrations/1.3.1.1/post-migrate_branch.py

8 lines
251 B
Python
Raw Normal View History

2018-06-29 11:57:41 +02:00
# -*- coding: utf-8 -*-
import flectra
def migrate(cr, version):
registry = flectra.registry(cr.dbname)
from flectra.addons.base_branch_company.models.res_branch import \
migrate_company_branch
migrate_company_branch(cr, registry)