Skip to content

Commit

Permalink
Merge PR #2533 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Jan 26, 2025
2 parents db45635 + ba6d1fd commit ff2b8f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion purchase_security/models/purchase_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def _compute_is_user_id_editable(self):
is_user_id_editable = self.env.user.has_group(
"purchase.group_purchase_manager"
) or not self.env.user.has_group("purchase_security.group_purchase_own_orders")
self.write({"is_user_id_editable": is_user_id_editable})
self.is_user_id_editable = is_user_id_editable

@api.depends("user_id")
def _compute_team_id(self):
Expand Down

0 comments on commit ff2b8f8

Please sign in to comment.