[FIX] mrp: fix forecast for product template
Following 873d6d92, the forecast would now redirect correctly to the corresponding bom when a `product.product` was used. The issue is that `bom_variant_ids` doesn't exist on `product.template`, raising a traceback when the forecast was accessed through the product themselves instead of their variants closes odoo/odoo#115716 Signed-off-by:Arnold Moyaux (arm) <arm@odoo.com>
Please register or sign in to comment