[FIX] point_of_sale: fix product search domain

This PR (https://github.com/odoo/odoo/pull/105748) introduced a bug
by having an extra `OR` operator in the domain.

This commit fixes the error.

opw-3099849

closes odoo/odoo#107889

X-original-commit: 1f496609ecd2a7afdac53f4a622895bbe5b6cb81
Signed-off-by: Trinh Jacky (trj) <trj@odoo.com>
This commit is contained in:
Ahmad Khanalizadeh
2022-12-19 11:33:41 +01:00
committed by Jacky (trj)
parent 220e0271bf
commit 11e4d452d4
@@ -83,7 +83,6 @@ class ProductsWidgetControlPanel extends PosComponent {
["available_in_pos", "=", true],
"|",
"|",
"|",
["name", "ilike", this.state.searchInput],
["default_code", "ilike", this.state.searchInput],
["barcode", "ilike", this.state.searchInput],