Merge PR #1236 into 14.0

Signed-off-by ilyasProgrammer
This commit is contained in:
OCA-git-bot
2024-03-19 08:26:04 +00:00

View File

@@ -260,7 +260,7 @@ class MrpBom(models.Model):
)
if component_template_product:
# need to set product_id temporary
current_line.product_id = component_template_product
current_line.sudo().product_id = component_template_product
else:
# component_template_id is set, but no attribute value match.
continue