OCA / product-configurator

Advanced Product Configurator (from the original Pledra project https://github.com/pledra/odoo-product-configurator)
GNU Affero General Public License v3.0
33 stars 78 forks source link

[14.0][FIX] product_configurator_mrp (Operation Steps/Pick Type Onchange) #79

Closed patrickrwilson closed 1 year ago

patrickrwilson commented 2 years ago

This fixes an issue when a new variant is created, it creates the BoM with operations and steps, since it's copying the steps, the product on the steps gets set with the product template and not the new variant. So, when an MO is created for the variant, the work order steps don't show, because they don't apply to the variant. The change is to simply set the product on the step to the new variant.

Also adds running the picking type onchange to the wizard done method so the proper locations are set when the MO is created.

OCA-git-bot commented 2 years ago

Hi @PCatinean, some modules you are maintaining are being modified, check this out!

github-actions[bot] commented 1 year ago

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.