Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0] [MIG] product_configurator_mrp_component #123

Open
wants to merge 18 commits into
base: 17.0
Choose a base branch
from

Conversation

Nikul-OSI
Copy link

No description provided.

Chandresh-OSI and others added 16 commits February 22, 2024 17:00
[UPD] Updated code with working items.

[UPD] Improved logic and added config component domain

[UPD] Added readme and default qty

[UPD] pre-commit

[UPD] pre-commit

[UPD] pre-commit

Allow search config component by internal ref

Update product_configurator_mrp_component/models/mrp_bom_line_config.py

pre-commit

[ADD] Added filter

change configurable component availability

Changes the logic of the configurable components domain. It now first checks that the child has all the attributes on the parent, and if so it then makes sure that the child has all the values for that line in the parent. This should allow a child which can have more values then the parent to still be added as a configurable component.

Co-Authored-By: Daniel Reis <[email protected]>
[IMP] made so normal variants don't show exception
1. Fixes issue where if config component only has a few values in an attribute and the parent selects the values that the comp doesn't have, then don't create and add the component. This was causing an error because it was trying to create the variant even if the value selected didn't apply to the config component. This will allow more flexibility with config components.
2. Fixes issue where the available config components that show in the drop down will allow if the first attribute only had a few of the values but any attribute below that would have to have all the values in order for it to show.
Travis failed due to singleton error while
@Nikul-OSI Nikul-OSI force-pushed the 17.0_mig_product_configurator_mrp_component branch from 688b3c6 to e5787e4 Compare August 6, 2024 07:09
@Nikul-OSI Nikul-OSI force-pushed the 17.0_mig_product_configurator_mrp_component branch from e5787e4 to fd70bb6 Compare August 6, 2024 07:19
@rousseldenis
Copy link

/ocabot migration product_configurator_mrp_component

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants