[IMP] base_user_role: Adding a new tab for user comments in roles form.

This commit is contained in:
Harald Panten
2019-12-09 18:25:12 +01:00
parent 4b7d8b757f
commit bfcf31add1
2 changed files with 6 additions and 0 deletions

View File

@@ -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')

View File

@@ -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>