Browse Source

Merge PR #107 into 14.0

Signed-off-by pedrobaeza
14.0
OCA-git-bot 4 years ago
parent
commit
c5b1726394
  1. 3
      base_user_role/models/role.py
  2. 1
      base_user_role/readme/CONTRIBUTORS.rst
  3. 3
      base_user_role/views/role.xml

3
base_user_role/models/role.py

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

1
base_user_role/readme/CONTRIBUTORS.rst

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

3
base_user_role/views/role.xml

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

Loading…
Cancel
Save