diff options
| author | Aaron Bohy <aab@odoo.com> | 2020-04-29 07:21:52 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2020-05-05 10:05:12 +0000 |
| commit | 89c1d81b24ad64e7eca6803dd4e5e6e21025ae17 (patch) | |
| tree | 347b92f98df72e7f00a1c69d7366619dafef695a /addons/purchase/views | |
| parent | b6d05f6015334ff6facfa65b7631c26f5ae8b186 (diff) | |
[IMP] *: update form views
*account,purchase,sale
Make them use widget mail_many2one_avatar.
Part of task 2195254
closes odoo/odoo#49345
Related: odoo/enterprise#10074
Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'addons/purchase/views')
| -rw-r--r-- | addons/purchase/views/purchase_views.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/purchase/views/purchase_views.xml b/addons/purchase/views/purchase_views.xml index cb38edc705e..100a13e78a2 100644 --- a/addons/purchase/views/purchase_views.xml +++ b/addons/purchase/views/purchase_views.xml @@ -348,7 +348,7 @@ </div> </group> <group name="other_info"> - <field name="user_id" domain="[('share', '=', False)]"/> + <field name="user_id" domain="[('share', '=', False)]" widget="many2one_avatar_user"/> <field name="invoice_status" attrs="{'invisible': [('state', 'in', ('draft', 'sent', 'to approve', 'cancel'))]}"/> <field name="payment_term_id" attrs="{'readonly': ['|', ('invoice_status','=', 'invoiced'), ('state', '=', 'done')]}" options="{'no_create': True}"/> <field name="fiscal_position_id" options="{'no_create': True}" attrs="{'readonly': ['|', ('invoice_status','=', 'invoiced'), ('state', '=', 'done')]}"/> |
