Skip to content
Snippets Groups Projects

Feature/assign ce admin

Merged Benjamí Ramos requested to merge feature/assign_ce_admin into dev
2 files
+ 11
0
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -211,3 +211,13 @@ class ResUsers(models.Model):
raise exceptions.UserError(
_('Something went wrong. Mail can not be sended. More details: {}').format(response.json())
)
def make_internal_user(self):
# TODO: Require rebase new roles branch
pass
# self.env["res.users.role.line"].sudo().create({
# "user_id": self.id,
# "active": True,
# "role_id": role.id,
# "company_id": self.id,
# })
\ No newline at end of file
Loading