Allocated stock should be reverted when cancelling a fullfillment
Closed this issue · 0 comments
ivasilov commented
Describe the bug
Cancelling a fullfillment should restore the allocated stock values of the product.
To Reproduce
Steps to reproduce the behavior:
- Make an order
- Fullfill that order through the Admin panel
- Cancel that specific fullfilment
Expected behavior
When cancelling a fullfilment, Vendure should return the stock levels of the fullfilled products to the pre-fullfilled values.
Environment (please complete the following information):
- @vendure/core version: 1.3.1
- Nodejs version: v14
- Database (mysql/postgres etc): Postgres v11