Comment 1 for bug 987299

Revision history for this message
Ravish(OpenERP) (rmu-openerp) wrote :

Hello Jean,

I have completely read report . But it's feature of openerp that we have allow a negative stock in our inventory

Let me explain in detail

In our stock management system we have consider two stock real and virtual

Real Stock :-Incoming stock move (which is on done state)-Outgoing stock move(which is on done state)
Virtual stock :- Incoming stock move (which is on draft and waiting state) - Outgoing stock move(which is on draft and waiting state) + real stock

Our SO and picking check qty are different manner. so checks qty base on virtual stock an PO checks qty on real stock
here our real stock are also allow to goes in to negative .

Now up to our issue

first you have assigned real stock in your product noe picking will allow this product up to inventory's qty .

Let take one example

product A real stock :10 ,virtual stock :10

create a picking for 10 qty of product A real =10, virtual =0
change our inventory qty as a zero ,real=0 , virtual =-10 (because picking is still in available state)
Now done this picking
real= -10 ,virtual= -10

your problem is picking is still in available state because our virtual stock goes in to negative qty and also here we can not allow the reverse management in our inventory system.

After this when you will create a new inventory for this product then first this qty will deducted and remaining qty available in your stock.

So this is the behavior of warehouse management not a bug.

Hope this clear for you.

Thanks for reporting!