[IMP] hr: add Many2OneAvatarEmployee field widget

This widget is a variant of the Many2OneAvatarUser widget, designed
for many2one fields pointing to 'hr.employee'.

Part of task 2195254
This commit is contained in:
Aaron Bohy
2020-05-05 10:05:12 +00:00
parent 59641325c7
commit 22a66ae694
4 changed files with 296 additions and 0 deletions
+5
View File
@@ -2155,6 +2155,11 @@ Relational fields
- Supported field types: *many2one* (pointing to 'res.users')
- many2one_avatar_employee (Many2OneAvatarEmployee)
Same as Many2OneAvatarUser, but for many2one fields pointing to 'hr.employee'.
- Supported field types: *many2one* (pointing to 'hr.employee')
- kanban.many2one (KanbanFieldMany2One)
Default widget for many2one fields (in kanban view). We need to disable all
editing in kanban views.