Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] stock: search on location with negative operator
- Go to Inventory > Reporting > Inventory Report - Filter the location with a negative operator, e.g. 'Location doesn't contain "shelf"' Locations containing 'shelf' are displayed anyway. We are adding this condition: `'|', ('barcode', operator, name)`. Since barcode is empty (or at least doesn't contain 'shelf'), the condition is met and all records are retrieved. In case of a negative operator, both `barcode` and `complete_name` must not match. opw-2281191 closes odoo#53707 X-original-commit: 8fedbcd Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
- Loading branch information