Skip to content

Commit

Permalink
[OU-ADD] maintenance_project: Remove Project > Administrator from Equ…
Browse files Browse the repository at this point in the history
…ipment manager group

Related to #424

TT50829
  • Loading branch information
victoralmau committed Sep 24, 2024
1 parent 12aa2aa commit d93a538
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 d93a538

Please sign in to comment.