From fc8d96d2cb1fb2f8debaf53e5f6d29ab3489cf6e Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Mon, 6 Jun 2016 17:10:39 +0200 Subject: [PATCH] [FIX] account: Invoices & Refunds filters together When both selected, these filters are expected to display Invoices - OR - Refunds. It was not the case, because the web client expects to receive the domains normalized when concatenating domains together with a `|` statement. Selecting both filters resulted in the below domain: ``` [ '|', ('state','in',['open','paid']), ('type','in',('out_invoice','in_invoice'))`, ('state','in',['open','paid']), ('type','in',('out_refund','in_refund')), ] ``` Instead of ``` [ '|', '&', ('state','in',['open','paid']), ('type','in',('out_invoice','in_invoice'))`, '&', ('state','in',['open','paid']), ('type','in',('out_refund','in_refund')), ] ``` opw-679246 --- addons/account/views/account_invoice_view.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/account/views/account_invoice_view.xml b/addons/account/views/account_invoice_view.xml index 732fa72388b..cf5a9584c2f 100644 --- a/addons/account/views/account_invoice_view.xml +++ b/addons/account/views/account_invoice_view.xml @@ -507,11 +507,11 @@ - - + + - +