Jump to content

[Advanced stock management] product quantities not decreasing after order status update if product quantities are in different warehouses


RubenMing

Recommended Posts

I would like to share with you this problem that I've already found in more Prestashop versions, and I hope we can find together a solution.
 
I'm currently using a Prestashop v.1.6.1.11, here is the process:
 
- I have enabled advanced stock management and created Warehouse 1 and Warehouse 2
- Then I switched in product quantity to advanced stock management. One unit was assigned to Warehouse 1 and the other unit assigned to Warehouse 2, so after this we have:
 
 Physical Quantity: 2
 Usable Quantity: 2
 Real Quantity: 2
 
Warehouse 1:  1 product
Warehouse 2:  1 product
(Both warehouses have available all carriers.)
 
- Then I add 2 units of this product to cart and finish an order by bankwire.
- After the order I have by default status "Awaiting bank wire" now I will give detail of the quantity after updating order status:
 
Awaiting bank wire:
  • Physical Quantity: 2
  • Usable Quantity: 2
  • Real Quantity: 2
 
Then I update first to Payment accepted, 
  • Physical Quantity: 2
  • Usable Quantity: 2
  • Real Quantity: 0
 
Next I update to Processing in progress: 
  • Physical Quantity: 2
  • Usable Quantity: 2
  • Real Quantity: 0
 
Next I update to Shipped:
  • Physical Quantity: 2
  • Usable Quantity: 2
  • Real Quantity: 0
 
Next I update to Delivered: 
  • Physical Quantity: 2
  • Usable Quantity: 2
  • Real Quantity: 0
 
_____
 
Problem is that since I updated to status "Processing in progress" Physical and Usable quantity should have been decreased like this:
 
Next I update to Processing in progress:
Physical Quantity: 0
Usable Quantity: 0
Real Quantity: 0
 
So problem seems that when the product stock is divided in different warehouses, and we need to get quantities from both warehouses (to send the order), the Physical and the Usable quantity is not updated (quantity is not decreased) after order status is changed.
 
Have you experienced this problem before? how did you solve it?
 
Thanks to all,
Rubén
Edited by RubenMing (see edit history)
Link to comment
Share on other sites

  • 1 month later...

Hello,

 

I believe I have the same issue with 1.6.1.17 and I am only using one warehouse. 

 

If anyone can please help us would be greatly appreciated.

 

OTHER ISSUE:

Also im only using one warehouse because i can not  specify which warehouse my product ships from (after customer order) if i have two warehouses in ASM. 

In other words, if i had two warehouses with a product sharing both warehouses, how do i determine which warehouse my product ships from?

If anyone knows how to resolve these issues please write back or email direct.. 

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...