odoo/enterprise#79814

Created by Logistics, Jean-Francois Aubert (ajf)
Merged at f565b051dee9f53c1434b29cd3be66ee97bc5807

Statuses:

label
odoo-dev:master-mrp-fix-1st-wo-completion-ajf
head
56cfdb7d704164faa693d370419617cddf28ea67
merged
2 months ago by Logistics, Arnold Moyaux (arm)
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