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:
committed by
Tatiana Deribina
parent
a8cf06b781
commit
c47ee28c98
@@ -34,6 +34,9 @@ class ResUsersRole(models.Model):
|
|||||||
help="Associated group's category",
|
help="Associated group's category",
|
||||||
readonly=False,
|
readonly=False,
|
||||||
)
|
)
|
||||||
|
comment = fields.Html(
|
||||||
|
string="Internal Notes",
|
||||||
|
)
|
||||||
|
|
||||||
@api.depends("line_ids.user_id")
|
@api.depends("line_ids.user_id")
|
||||||
def _compute_user_ids(self):
|
def _compute_user_ids(self):
|
||||||
|
|||||||
@@ -2,5 +2,6 @@
|
|||||||
* Duc, Dao Dong <duc.dd@komit-consulting.com> (https://komit-consulting.com)
|
* Duc, Dao Dong <duc.dd@komit-consulting.com> (https://komit-consulting.com)
|
||||||
* Jean-Charles Drubay <jc@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)
|
* 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.
|
Do not contact contributors directly about support or help with technical issues.
|
||||||
|
|||||||
@@ -34,6 +34,9 @@
|
|||||||
</tree>
|
</tree>
|
||||||
</field>
|
</field>
|
||||||
</page>
|
</page>
|
||||||
|
<page name="page_internal_notes" string="Internal Notes">
|
||||||
|
<field name="comment" />
|
||||||
|
</page>
|
||||||
</notebook>
|
</notebook>
|
||||||
</sheet>
|
</sheet>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Reference in New Issue
Block a user