Closed patrickrwilson closed 1 year ago
Hi @PCatinean, some modules you are maintaining are being modified, check this out!
Not sure how to fix the pre-commit error that is showing, I don't think its an issue with the code: ImportError: cannot import name 'formatargspec' from 'inspect' (/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/inspect.py)
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.
Sets sequences on the BoM so proper BoM is used on the MO. When the variant is created by the configurator, so is it's BoM however the BoM sequences typically aren't set. So, when Odoo creates an MO, it looks through the BoM's of the related product template and uses the first one it finds either one with the product variant or without any variants.
If the main BoM (aka Master BoM) is found first, it will be used instead of the variant's BoM since it doesn't have a variant applied to it.
Setting the sequences and making the BoM's without variants have a high sequence resolves this issue.