mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
Corrected a bug on the attribution of the 'User roles' default application to a created user group on role creation.
This commit is contained in:
committed by
Vincent Hatakeyama
parent
02f5fc7465
commit
43dd2c2265
@@ -32,6 +32,7 @@ class ResUsersRole(models.Model):
|
|||||||
default=lambda cls: cls.env.ref("base_user_role.ir_module_category_role").id,
|
default=lambda cls: cls.env.ref("base_user_role.ir_module_category_role").id,
|
||||||
string="Associated category",
|
string="Associated category",
|
||||||
help="Associated group's category",
|
help="Associated group's category",
|
||||||
|
readonly=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
@api.depends("line_ids.user_id")
|
@api.depends("line_ids.user_id")
|
||||||
|
|||||||
Reference in New Issue
Block a user