-
-
Notifications
You must be signed in to change notification settings - Fork 731
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
Units showing as 'none' on all pending or ready orders; showing as 'shipped' on all shipped orders #4582
Comments
hello Therese, thanks for raising the issue! Although this is ugly, users can preform all actions in the app. I think this is an S3. |
Hmmm - wonder why I never saw it before on the orders page - the bug was reported back in October, I and other users here have edited many orders without seeing this. Oh - maybe its to do with just picking up translations in transifex. Damn. so I"ve made it s3 - but its going in my paperclip priorities. |
wow i never noticed this, annoying!! putting on my list to consider for votes too |
Ok I'm selecting this as FR's vote (it's more annoying than #7627 because visible during demos). @openfoodfoundation/train-drivers-product-owners do you agree that "none" should not only be replaced by unit, but a combo of unit value and unit type? If too complex I'm wondering if we shouldn't consider just removing the "x none/shipped". |
Reading the code: - item.states.each do |state,count|
= "#{count} x #{t(state.humanize.downcase, scope: [:spree, :shipment_states], default: [:missing, "none"])}" From what I saw, sometimes the
That's why we display There are, I think, two ways to fix the issue:
|
If so, agree :) Adding only unit would not help. @jibees If I understand your suggestion correctly, we would end up with If getting to
|
Yes, that's one of my two initials proposals.
Ok.
the column 'quantity' is intended to be separated according to its "state" (see
Would you like to create the PR? ;) |
Yeah let's just display the count, no one will miss info here ,and new users will be less stressed about this confusing "none". Go @jibees 🎉 |
Description
The units on the order editing page are showing as 'none' on all new and all previous orders for 'pending' and 'ready' orders. The units are showing as 'shipped' on all 'shipped' orders (versus showing the units. This is happening for products entered as item or products entered by weight.
It is happening for new orders and ALL previous orders. I've tested, and it is occuring on OFN-CAN and on OFN-US. Might this be related to !#4581 as they started at the same time (first noticed Dec 14)
Expected Behavior
the units should show on the orders to facilitate editing
Actual Behaviour
units are showing as 'none'. This is happening for all products and all new and old orders. The item quantity CAN be edited and re-calcuation works fine. The units are showing correctly in all reports and on the invoice.
Steps to Reproduce
Animated Gif/Screenshot
Workaround
look to the variant description to know what the units are
Severity
s2
(orders can still be edited)
bug-s1: a critical feature is broken: checkout, payments, signup, login
bug-s2: a non-critical feature is broken, no workaround
bug-s3: a feature is broken but there is a workaround
bug-s4: it's annoying, but you can use it
bug-s5: we can live with it, only a few users impacted
https://github.com/openfoodfoundation/openfoodnetwork/wiki/Bug-severity
-->
Your Environment
Possible Fix
The text was updated successfully, but these errors were encountered: