[FIX] stock_invoice_directly: automatic creation of invoice when validating delivery order does not
invoice correct partial delivery. It does invoice remain delivery instead of processed delivery
[FIX] stock_invoice_directly: if picking is not done while doing partial picking, create invoice on this backorder instead of the current picking
[FIX] stock_invoice_directly: if picking is not done while doing partial picking, create invoice on this backorder instead of the current picking