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

This commit is contained in:
Harald Panten
2020-12-21 16:42:48 +01:00
committed by Bert Van Groenendael
parent 1bc5a8a518
commit 340e5a9ac7
3 changed files with 7 additions and 0 deletions

View File

@@ -34,6 +34,9 @@ class ResUsersRole(models.Model):
help="Associated group's category",
readonly=False,
)
comment = fields.Html(
string="Internal Notes",
)
@api.depends("line_ids.user_id")
def _compute_user_ids(self):

View File

@@ -2,5 +2,6 @@
* Duc, Dao Dong <duc.dd@komit-consulting.com> (https://komit-consulting.com)
* Jean-Charles Drubay <jc@komit-consulting.com> (https://komit-consulting.com)
* Alan Ramos <alan.ramos@jarsa.com.mx> (https://www.jarsa.com.mx)
* Harald Panten <harald.panten@sygel.es>
Do not contact contributors directly about support or help with technical issues.

View File

@@ -34,6 +34,9 @@
</tree>
</field>
</page>
<page name="page_internal_notes" string="Internal Notes">
<field name="comment" />
</page>
</notebook>
</sheet>
</form>