diff options
| author | Denis Ledoux <dle@odoo.com> | 2016-06-06 17:10:39 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2016-06-06 17:25:55 +0200 |
| commit | fc8d96d2cb1fb2f8debaf53e5f6d29ab3489cf6e (patch) | |
| tree | b4a6776d080081f622247f960bf7941853dfdb87 /addons/web/static | |
| parent | 19dcd7c3eca460359fe8968e68b466d6f23b64be (diff) | |
[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
Diffstat (limited to 'addons/web/static')
0 files changed, 0 insertions, 0 deletions
