mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[IMP] base_user_role: Adding a new tab for user comments in roles form.
This commit is contained in:
@@ -29,6 +29,9 @@ class ResUsersRole(models.Model):
|
|||||||
'base_user_role.ir_module_category_role').id,
|
'base_user_role.ir_module_category_role').id,
|
||||||
string="Associated category",
|
string="Associated category",
|
||||||
help="Associated group's category")
|
help="Associated group's category")
|
||||||
|
comment = fields.Html(
|
||||||
|
string="Internal Notes",
|
||||||
|
)
|
||||||
|
|
||||||
@api.multi
|
@api.multi
|
||||||
@api.depends('line_ids.user_id')
|
@api.depends('line_ids.user_id')
|
||||||
|
|||||||
@@ -27,6 +27,9 @@
|
|||||||
</tree>
|
</tree>
|
||||||
</field>
|
</field>
|
||||||
</page>
|
</page>
|
||||||
|
<page name="role_inernal_notes" string="Internal Notes">
|
||||||
|
<field name="comment"/>
|
||||||
|
</page>
|
||||||
</notebook>
|
</notebook>
|
||||||
</sheet>
|
</sheet>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Reference in New Issue
Block a user