Skip to content
Snippets Groups Projects
Commit a935d5bc authored by Christophe Simonis's avatar Christophe Simonis
Browse files

[FIX] base: fail during previous foward-port

parent 73652a0b
No related branches found
No related tags found
No related merge requests found
......@@ -884,12 +884,6 @@ class UsersImplied(models.Model):
super(UsersImplied, self).write(vals)
return res
if not view.check_access_rights('write', raise_exception=False):
# erp manager has the rights to update groups/users but not
# to modify ir.ui.view
if self.env.user.has_group('base.group_erp_manager'):
view = view.sudo()
#----------------------------------------------------------
# change password wizard
#----------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment