Merge PR #886 into 14.0

Signed-off-by pedrobaeza
This commit is contained in:
OCA-git-bot
2022-12-23 18:56:23 +00:00

View File

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