Skip to content

Commit

Permalink
Merge PR #300 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by sebalix
  • Loading branch information
OCA-git-bot committed Jul 30, 2024
2 parents ad01df9 + ec1af85 commit b7fe9e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions base_user_role/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ class ResUsers(models.Model):
inverse_name="user_id",
string="Role lines",
default=lambda self: self._default_role_lines(),
groups="base.group_erp_manager",
)
role_ids = fields.One2many(
comodel_name="res.users.role",
string="Roles",
compute="_compute_role_ids",
compute_sudo=True,
groups="base.group_erp_manager",
)

@api.model
Expand Down

0 comments on commit b7fe9e2

Please sign in to comment.