diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index c532e3389a1..d745c4a98c1 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -796,7 +796,7 @@ 'res_partner_search_mode': (context.get('default_move_type', 'entry') in ('out_invoice', 'out_refund', 'out_receipt') and 'customer') or (context.get('default_move_type', 'entry') in ('in_invoice', 'in_refund', 'in_receipt') and 'supplier') or False, 'show_address': 1, 'default_is_company': True, 'show_vat': True}" domain="[('company_id', 'in', (False, company_id))]" - options='{"always_reload": True, "no_quick_create": True}' + options='{"no_quick_create": True}' attrs="{'invisible': [('move_type', 'not in', ('out_invoice', 'out_refund', 'in_invoice', 'in_refund', 'out_receipt', 'in_receipt'))]}"/> - + @@ -315,7 +315,7 @@ - + diff --git a/addons/event/views/event_event_views.xml b/addons/event/views/event_event_views.xml index 3e4510f43fc..b89bc5218bd 100644 --- a/addons/event/views/event_event_views.xml +++ b/addons/event/views/event_event_views.xml @@ -52,9 +52,7 @@ - +