odoo/odoo#161500

Created by fw-bot
Merged at 4fa87bd26ae37d97ae8c45e976fc154b198b376a

Statuses:

label
odoo-dev:saas-17.1-15.0-propagate-reusable-package-whe-qvgj-fw
head
e13b2155739a145abc2d2f99a8dcbd133c7cf8d1
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: #161445
Forward-Port-Of: #160337