summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2020-04-29 07:21:42 +0000
committerAaron Bohy <aab@odoo.com>2020-05-05 10:05:12 +0000
commit59641325c7eb1d41f898785d7b1bdd6db7c10ee8 (patch)
tree39b8535f8312337e71078bd9c22f5e675300ccdd /addons/web/static/src/js/fields/basic_fields.js
parente63ffeab5aadc69bdb5bc4f25238f9138055d3ed (diff)
[IMP] mail: add Many2OneAvatarUser field widget
This widget is an extension of Many2OneAvatar, designed for many2one fields pointing to the 'res.users' model, or a model having itself a many2one field pointing to 'res.partner'. With this widget, when the avatar is clicked, we open a DM chat window with the corresponding partner. If the user clicked on itself, we open a blank chat window for the sake of consistency. In kanban views, this widget only displays the avatar. Part of task 2195254
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions