odoo/odoo#198536

Created by Logistics, Jean-Francois Aubert (ajf)
Closed
label
odoo-dev:master-mrp-fix-1st-wo-completion-ajf
head
13cc09cec3a66c74173a605b0fe9c4a4856fa155
odoo/odoo odoo/enterprise
master #198536 #79814

[FIX] mrp: fix mo/wo backorders on 1st wo completion

When marking as done the first workorder with less quantitites, backorders (mo+wo) were always created, with no respect of the 'Create Backorder' setting defined on the Manufacturing picking type.

Now this setting is taken into account.

task-4440866


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