diff --git a/addons/sale/models/product_template.py b/addons/sale/models/product_template.py index 5719cb237da..0386eab81ba 100644 --- a/addons/sale/models/product_template.py +++ b/addons/sale/models/product_template.py @@ -289,7 +289,7 @@ class ProductTemplate(models.Model): :rtype: bool """ self.ensure_one() - if not self.active: + if not self.active or not self.sale_ok: # for performance: avoid calling `_get_possible_combinations` return False return next(self._get_possible_combinations(parent_combination), False) is not False