diff --git a/easy_my_coop/views/account_invoice_view.xml b/easy_my_coop/views/account_invoice_view.xml index 8398480..3301f05 100644 --- a/easy_my_coop/views/account_invoice_view.xml +++ b/easy_my_coop/views/account_invoice_view.xml @@ -16,12 +16,8 @@ form tree,kanban,form,calendar,pivot,graph,activity - [('type','in',('out_invoice', - 'out_refund')),('release_capital_request','=',True)] - - {'default_type':'out_invoice', - 'type':'out_invoice', 'journal_type': 'sale'} - + [('type','in',('out_invoice', 'out_refund')),('release_capital_request','=',True)] + {'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'}

@@ -54,12 +50,8 @@ form tree,kanban,form,calendar,pivot,graph,activity - [('type','in',('out_invoice', - 'out_refund')),('release_capital_request','=',False)] - - {'default_type':'out_invoice', - 'type':'out_invoice', 'journal_type': 'sale'} - + [('type','in',('out_invoice','out_refund')),('release_capital_request','=',False)] + {'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'}

@@ -79,13 +71,8 @@ form tree,form,kanban,calendar,graph,pivot - [('type','in', ['out_invoice', 'out_refund']), - ('state', 'not in', ['draft', - 'cancel']),('release_capital_request','=',False)] - - {'default_type':'out_invoice', - 'type':'out_invoice', 'journal_type': 'sale'} - + [('type','in', ['out_invoice', 'out_refund']), ('state', 'not in', ['draft', 'cancel']), ('release_capital_request','=',False)] + {'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'} diff --git a/easy_my_coop/views/res_partner_view.xml b/easy_my_coop/views/res_partner_view.xml index ddc2026..44b9659 100644 --- a/easy_my_coop/views/res_partner_view.xml +++ b/easy_my_coop/views/res_partner_view.xml @@ -144,12 +144,8 @@ res.partner form kanban,tree,form - ['|', ('cooperator','=',True), '|', - ('member','=',True),('old_member','=', True)] - - {'default_cooperator':1, - 'search_default_cooperators':1} - + ['|', ('cooperator','=',True), '|', ('member','=',True),('old_member','=', True)] + {'default_cooperator':1, 'search_default_cooperators':1}

Click to add a contact in your address book. @@ -195,9 +191,7 @@ res.partner form kanban,tree,form - - [('cooperator','=',True),('representative','=',True)] - + [('cooperator','=',True),('representative','=',True)]