-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Issue] Possible wrong calculations for Stock Flow Records #1370
Comments
Thanks for reporting we're reviewing. |
Hi, |
Hey, I can't void a partially refunded order. Scenario: Go to orders and void the order you just made. |
Hey, it's better explained. Thank you
Le dim. 12 mars 2023, 18:55, Joseph El Khoury ***@***.***> a
écrit :
… Hey,
I can't void a partially refunded order.
Scenario:
You have 15 bottles of water in your stock.
You create a new order and sell 3 bottles.
Stock is now 12.
Go to orders and void the order you just made.
Stock is now back to 15.
Go to order and delete the same order you just voided.
Stock is now 18.
—
Reply to this email directly, view it on GitHub
<#1370 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABIFR72N6DKZ6C7LSQJLWOTW3YEYZANCNFSM6AAAAAAVTLIME4>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
Describe the bug
I guess the calculations are wrong when you try to Void an order with a refund and return products.
Then when you do a delete on the order.
To Reproduce
On void it does a proper stock update. But if you delete the order, it does an additional update to the inventory.
Expected behavior
If the stock was updated on order void and return, it shouldn't update again when we delete the order.
Environment:
The text was updated successfully, but these errors were encountered: