← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 633545] Re: [6.0][stock] return picking create move line even if qty is zero!

 

--Based on the trunk sale/stock testing done by my colleagues for 6.0 migration.
I would propose SAP system flow process similarity.

-- 
[6.0][stock] return picking create move line even if qty is zero!
https://bugs.launchpad.net/bugs/633545
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Confirmed

Bug description:
Hello

using addons #4897 + fresh demo database + stock module.

Create a new sale order with 2 lines: 1 PC1 and 1 ATX.
Then validate the related expedition picking.
Now on the picking screen, return the picking using the 'return picking' wizard.
return 1 PC1 and 0 ATX
validate the return.

If you go to the related return picking you'll see that it contains a move line for the 0 ATX !!
Worse, if you create an invoice upon that picking the invoice will have a line with 0 ATX and price = 0.

I think that when the returned quantity is 0, the return picking should have no related move with 0 as the quantity.
Thoughts?