diff --git a/addons/point_of_sale/static/src/app/screens/product_screen/product_screen.js b/addons/point_of_sale/static/src/app/screens/product_screen/product_screen.js index 4cd500acbaf..bbc105d5217 100644 --- a/addons/point_of_sale/static/src/app/screens/product_screen/product_screen.js +++ b/addons/point_of_sale/static/src/app/screens/product_screen/product_screen.js @@ -140,6 +140,7 @@ export class ProductScreen extends ControlButtonsMixin(Component) { let foundProductIds = []; foundProductIds = await this.orm.search("product.product", [ ["barcode", "=", code.base_code], + ["sale_ok", "=", true], ]); if (foundProductIds.length) { await this.pos._addProducts(foundProductIds);