diff --git a/maintenance_project/migrations/16.0.2.0.0/post-migration.py b/maintenance_project/migrations/16.0.2.0.0/post-migration.py new file mode 100644 index 000000000..84d02601d --- /dev/null +++ b/maintenance_project/migrations/16.0.2.0.0/post-migration.py @@ -0,0 +1,11 @@ +# Copyright 2024 Tecnativa - Víctor Martínez +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + env.ref("maintenance.group_equipment_manager").write( + {"implied_ids": [(3, env.ref("project.group_project_manager").id)]} + )