[IMP] crm: display avatar for user_id
This commit improves the salesperson(user_id) field with many2one_avatar_user widget that will display avatar before user name. Task Id : 2302572 PR #565013 closes odoo/odoo#58781 X-original-commit: ec05118e85d7e3d4611c5688f3c4a572c86d0afa Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com> Co-authored-by: D J <dja@odoo.com>
This commit is contained in:
committed by
Thibault Delavallée
co-authored by
D J
parent
e3069655d3
commit
9e647230a3
@@ -211,7 +211,7 @@
|
||||
</group>
|
||||
<group>
|
||||
<field name="user_id" domain="[('share', '=', False)]"
|
||||
context="{'default_sales_team_id': team_id}"/>
|
||||
context="{'default_sales_team_id': team_id}" widget="many2one_avatar_user"/>
|
||||
<field name="team_id" widget="selection"
|
||||
domain="['|', ('company_id', '=', False), ('company_id', '=', company_id)]"/>
|
||||
<field name="type" invisible="1"/>
|
||||
|
||||
Reference in New Issue
Block a user