Stock qty bug in multiple warehouse

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
Version nopCommerce: 4.20 Beta
I have add multiple stock for A-product. I have added 100qty for Warehouse 1 and 150 for Warehouse 2(https://ibb.co/4NC5jFQ). now i have place order of 10qty for this same product.
if admin create shipment for this order according to below:-

create 5 qty from Warehouse 1
create 5 qty from Warehouse 2
and set this both shipment as shipped and delivered.
now if you get back to this product then expected result wil be:-
Warehouse Stock qty Reserved qty
Warehouse 1 95  0
Warehouse 2 145 0

But i get below result that is wrong(https://ibb.co/jb3c7V7)
Warehouse Stock qty Reserved qty
Warehouse 1 95  0
Warehouse 2 145 5
4 years ago
Done. Please see this commit.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.