← 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!

 

** Changed in: openobject-addons
       Status: Confirmed => Won't Fix

** Changed in: openobject-addons
   Importance: Medium => Wishlist

-- 
[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: Won't Fix

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?