mirror of
https://github.com/bringout/oca-workflow-process.git
synced 2026-04-19 09:52:04 +02:00
17 lines
443 B
Python
17 lines
443 B
Python
# Copyright 2025 Tecnativa - Víctor Martínez
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
from openupgradelib import openupgrade
|
|
|
|
_noupdate_xmlids = [
|
|
"mt_request_to_approve",
|
|
"mt_request_approved",
|
|
"mt_request_rejected",
|
|
"mt_request_done",
|
|
]
|
|
|
|
|
|
@openupgrade.migrate()
|
|
def migrate(env, version):
|
|
openupgrade.set_xml_ids_noupdate_value(
|
|
env, "purchase_request", _noupdate_xmlids, True
|
|
)
|