[FIX] delivery: order delivery line creation with inventory users
[FIX] delivery: order delivery line creation with inventory users

When processing the delivery order coming from a sale order,
the delivery line must be created as sudo, as the user
processing the picking could not have the access rights
to create the extra line on the sale order
(e.g. for users being inventory users but not sales
users).

opw-677628

storm-computers/odoo,dfang/odoo,laslabs/odoo,hip-odoo/odoo,Elico-Corp/odoo_OCB,laslabs/odoo,storm-computers/odoo,laslabs/odoo,hip-odoo/odoo,Elico-Corp/odoo_OCB,bplancher/odoo,dfang/odoo,hip-odoo/odoo,Elico-Corp/odoo_OCB,ygol/odoo,bplancher/odoo,dfang/odoo,microcom/odoo,Elico-Corp/odoo_OCB,microcom/odoo,microcom/odoo,storm-computers/odoo,Elico-Corp/odoo_OCB,bplancher/odoo,bplancher/odoo,bplancher/odoo,dfang/odoo,Elico-Corp/odoo_OCB,hip-odoo/odoo,microcom/odoo,ygol/odoo,ygol/odoo,laslabs/odoo,storm-computers/odoo,ygol/odoo,storm-computers/odoo,storm-computers/odoo,dfang/odoo,dfang/odoo,ygol/odoo,bplancher/odoo,hip-odoo/odoo,laslabs/odoo,microcom/odoo,ygol/odoo,ygol/odoo,laslabs/odoo,hip-odoo/odoo,microcom/odoo