Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022980Openbravo ERP04. Warehouse managementpublic2013-02-05 17:052013-02-05 17:05
naiaramartinez 
dmiguelez 
normalminorhave not tried
newopen 
5
 
 
Core
No
0022980: ManageStock view is not working correctly
ManageStock view is not working correctly. There should be only one record for lines with the same Storage Bin and Attibute Set, but now you can have different lines.

When you set some qty for the same storage bin in allocated and some not in allocated, you should see different lines. But the manage stock popup should take into account available qty and reserve in others qty is the same for both lines. For instance:
   StorageBin AttributeSet AvailableQty Qty Allocated
     RN-001 10 3 Yes
     RN-001 10 9 No

Now validations are made per line, but as you are reserving from the same storage bin, 3 + 9 should not be higher than 10 (which is the avaiable qty in RN-001). But now is possible to reserve 3 + 9.

Moreover,there should be an API for changing qty from allocated=no to yes and vice versa.



Create a sales order for a product with qty 10. Complete it and create the picking list.

Then go to the picking list. Edit line and set qty 1 (storage bin RN-1-0-0). Process it.

Go back to the sales order and Generate again the picking list. A picking list is created with qty 9 (storage bin RN-1-0-0).

If you go to the Stock Reservation window, you can see that for that sales order there is one reservation with 2 lines:
    * The first one:
         storage bin: RN-1-0-0
         Attribute set : null
         qty: 1
         delivered: 1
    * The second one:
         storage bin: RN-1-0-0
         attribute set: null
         qty: 9

You should see only one line with the following info:
     storage bin: RN-1-0-0
     qty: 10
     delivered: 1

No tags attached.
Issue History
2013-02-05 17:05naiaramartinezNew Issue
2013-02-05 17:05naiaramartinezAssigned To => dmiguelez
2013-02-05 17:05naiaramartinezModules => Core
2013-02-05 17:05naiaramartinezTriggers an Emergency Pack => No

There are no notes attached to this issue.