mis-builder/mis_builder/migrations/16.0.5.0.0/end-migrate.py
2024-05-03 10:57:01 +02:00

11 lines
335 B
Python

# Copyright 2023 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
import flectra
from flectra import api
def migrate(cr, installed_version):
env = api.Environment(cr, flectra.SUPERUSER_ID, {})
env["mis.report.instance.period"].search([])._compute_source_aml_model_id()