Closed AaronHForgeFlow closed 1 year ago
/ocabot merge patch
On my way to merge this fine PR! Prepared branch 15.0-ocabot-merge-pr-597-by-AaronHForgeFlow-bump-patch, awaiting test results.
This PR has the approved
label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖
Congratulations, your PR was merged at f4adea93b2c9668a4cfb9bd3501af5c3583b1b8b. Thanks a lot for contributing to OCA. ❤️
Enable the route MTO or dropship in a product. Then try to create a sales order for that product in another operating unit than the main operating unit. This constraint will raise: https://github.com/OCA/operating-unit/blob/15.0/purchase_request_operating_unit/model/purchase_request.py#L56, because it will try to create the purcahse request for the main operating unit, instead the operating unit of the procurement, which is the operating unit of the sales order.
cc @ForgeFlow @BT-pcavero