-
Notifications
You must be signed in to change notification settings - Fork 57
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
Make it work! [Clear Order Button] #47
Comments
OH. Well f***k. How in the flippin heck did I not think of deleting the |
Fixed in #49 |
Just one thing I noticed later. When an order is cleared, the reset method should look if "stock applies" and refund items. Just like when you remove a single product from anche order. I have the code fix in my laptop bit I'm texting from another PC now. Cya! :) |
Blimey the overseights on my end just keep coming.... |
By adding
Order_Item.objects.filter(order=current_order).delete()
in pos/views.py, after line 181, in reset_order() method, Clear Order button works for real, deleting Item_Order objects of associated Order object.
The text was updated successfully, but these errors were encountered: