If the same configuration set is used for several components on the product template BoM, when it generates the BoM for the variant it will add duplicate components to the variant BoM.
To Reproduce
Affected versions: 14.0 is where this was noticed.
Steps to reproduce the behavior:
Create configurable product template
Create master BoM for product template with a configuration set that can be used on multiple lines.
Configure the product using an attribute value that is contained in the multiple config set. You will see the BoM for the variant that is created will contain duplicates.
Expected behavior
The variant BoM should not contain duplicates on only the components that apply.
Sample with correct BoM components
Module
product_configurator_mrp
Describe the bug
If the same configuration set is used for several components on the product template BoM, when it generates the BoM for the variant it will add duplicate components to the variant BoM.
To Reproduce
Affected versions: 14.0 is where this was noticed.
Steps to reproduce the behavior:
Expected behavior The variant BoM should not contain duplicates on only the components that apply. Sample with correct BoM components