Closed patrickrwilson closed 1 year ago
Hi @PCatinean, some modules you are maintaining are being modified, check this out!
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.
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.