odoo/odoo#161655

Created by fw-bot
Merged at 0358963e2088a309141f092fbe8f7a98786cc1d8

Statuses:

label
odoo-dev:master-15.0-propagate-reusable-package-whe-sp7p-fw
head
79fd77496a867774b5ebb3967f0067726ca38239
merged
2 years ago by Logistics, William Henrotin (whe)
odoo/odoo
15.0 #160337
16.0 #160898
saas-16.3 #161327
saas-16.4 #161432
17.0 #161445
saas-17.1 #161500
saas-17.2 #161529
18.0
saas-18.2
saas-18.3
saas-18.4
19.0
saas-19.1
saas-19.2
saas-19.3
master #161655

[FW][FIX] mrp_subcontracting_dropshipping: don't assign twice

The stock.move:_action_done() already reserve the next mto moves at
validation. Calling the reservation method after the validation again
may lead to unwanted results like calling check_entire_pack() and
messed up the result_package_id on the stock move lines.

task-3764822

Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: #161529
Forward-Port-Of: #160337