Skip to content

Commit

Permalink
Merge pull request #428 from Tecnativa/16.0-ou-add-maintenance_projec…
Browse files Browse the repository at this point in the history
…t-TT50829

[16.0][OU-ADD] maintenance_project: Remove Project > Administrator from Equipment manager group
  • Loading branch information
pedrobaeza authored Sep 24, 2024
2 parents 12aa2aa + d93a538 commit 077c24b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions maintenance_project/migrations/16.0.2.0.0/post-migration.py
Original file line number Diff line number Diff line change
@@ -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)]}
)

0 comments on commit 077c24b

Please sign in to comment.