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

This commit is contained in:
Harald Panten
2020-12-20 17:51:17 +01:00
parent 4e53b3c77c
commit f35bf42e2e
3 changed files with 5 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ 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

@@ -1,5 +1,6 @@
* Sébastien Alix <sebastien.alix@camptocamp.com>
* Duc, Dao Dong <duc.dd@komit-consulting.com> (https://komit-consulting.com)
* Jean-Charles Drubay <jc@komit-consulting.com> (https://komit-consulting.com)
* 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>