diff --git a/addons/mrp/models/stock_rule.py b/addons/mrp/models/stock_rule.py index ff840682e1d..01b66fda14c 100644 --- a/addons/mrp/models/stock_rule.py +++ b/addons/mrp/models/stock_rule.py @@ -37,7 +37,7 @@ class StockRule(models.Model): for procurement, rule in procurements: bom = self._get_matching_bom(procurement.product_id, procurement.company_id, procurement.values) if not bom: - msg = _('There is no Bill of Material found for the product %s. Please define a Bill of Material for this product.') % (procurement.product_id.display_name,) + msg = _('There is no Bill of Material of type manufacture or kit found for the product %s. Please define a Bill of Material for this product.') % (procurement.product_id.display_name,) raise UserError(msg) productions_values_by_company[procurement.company_id.id].append(rule._prepare_mo_vals(*procurement, bom))