diff --git a/addons/account/controllers/portal.py b/addons/account/controllers/portal.py index c3dd7e2b1bbcdeb70390866a8bb1d7369ec841a5..1aef9ace37be2de526ee6e751c1c9f0e0a2f4d62 100644 --- a/addons/account/controllers/portal.py +++ b/addons/account/controllers/portal.py @@ -52,8 +52,8 @@ class PortalAccount(CustomerPortal): searchbar_filters = { 'all': {'label': _('All'), 'domain': []}, - 'invoices': {'label': _('Invoices'), 'domain': [('move_type', '=', ('out_invoice', 'out_refund'))]}, - 'bills': {'label': _('Bills'), 'domain': [('move_type', '=', ('in_invoice', 'in_refund'))]}, + 'invoices': {'label': _('Invoices'), 'domain': [('move_type', 'in', ('out_invoice', 'out_refund'))]}, + 'bills': {'label': _('Bills'), 'domain': [('move_type', 'in', ('in_invoice', 'in_refund'))]}, } # default filter by value if not filterby: