partner-contact/partner_industry_secondary/migrations/14.0.1.0.0/post-migration.py

10 lines
278 B
Python
Raw Permalink Normal View History

2021-03-23 19:13:18 +00:00
# Copyright 2019 Tecnativa - Cristina Martin R.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from openupgradelib import openupgrade
@openupgrade.migrate(use_env=True)
def migrate(env, version):
env["res.partner.industry"]._parent_store_compute()