mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
Merge pull request #39 from QubiQ/11.0-imp-base_user_role
[IMP] Adding a new tab for user comments in roles form.
This commit is contained in:
@@ -27,6 +27,9 @@ class ResUsersRole(models.Model):
|
||||
related='group_id.category_id',
|
||||
default=lambda cls: cls.env.ref(
|
||||
'base_user_role.ir_module_category_role').id)
|
||||
comment = fields.Html(
|
||||
string="Internal Notes",
|
||||
)
|
||||
|
||||
@api.multi
|
||||
@api.depends('line_ids.user_id')
|
||||
|
||||
@@ -27,6 +27,9 @@
|
||||
</tree>
|
||||
</field>
|
||||
</page>
|
||||
<page name="role_inernal_notes" string="Internal Notes">
|
||||
<field name="comment" placeholder="Internal note..."/>
|
||||
</page>
|
||||
</notebook>
|
||||
</sheet>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user