Tuesday, November 26, 2024
1 change · saas-17.2
Resolved issues and error corrections
Manufacturing routes can again use the destination location set directly on the rule, instead of always relying on the related operation type. This preserves existing manufacturing flows that use custom destinations and prevents unexpected stock movement changes after the prior update.
Original PR description
Following #156437, the destination location of a rule is now determined by the associated picking type destination. To keep compatibility with the old pull system (where each rule determined which destination it had, regardless of its picking type), a new field was added to force the destination defined on the rule to apply instead. This was done for `pull` and `pull_push` rules, as it was mainly the pull rules that were affected, but the `manufacture` case was overlooked, as it would break existing manufacture rules having a different destination on the rule than the one in the related picking type. To allow that back again, we enable that parameter to be set on `manufacture` rules as well. opw-4300074 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr