-
-
Notifications
You must be signed in to change notification settings - Fork 729
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
[Reports] Wrong "bulk unit size" in bulk co-op supplier report #9747
Comments
Hello @audez I would like to work on this one. Could you please assign it to me? |
hello @krishnasingh001 just checking in: are still working or planning to work on this issue? Don't hesitate if you need help :) |
Hello @RachL, I wasn't able to reproduce this issue locally. I thought this issue has been fixed. But will check this issue again and update it here. Thanks |
@lin-d-hop this one might be a good candidate for the reports update epic? |
Hi @RachL , I am having a look at this. As krishnasingh001 mentioned above, I wasn't able to reproduce the issue on my first try. I am having a look at the code now to double check if there isn't any edge cases. |
Hi Again, I went and looked at the code, as far as I can see it's getting the correct data. So unless I missed something, this has been fixed. For context, report where improved by this PR #9032 and the code hasn't changed since. See below the steps I took to try reproducing the bug. : |
@audez are you still able to reproduce this one? If so, can you provide the step you did? |
hi, sorry for the very late reply.. I understand what happened here:
In my case, bulk unit = 30 was actually 0.03 kg, and then was rounded to 0. I also see that when we display decimal number in this field, it's rounded to the lower number (eg bulk unit size = 100.7 will be transformed to 100). I guess this wasn't a bug then, sorry! To avoid any confusion for other people, and as it's a non-obvious rule, I think it would be great to add it on screen, for instance: Edit: i forgot i wishlisted on the same topic.. 😅 |
Description
The "bulk unit size" field in the bulk co-op supplier report is displaying 0 value instead of the bulk unit size.
Steps to Reproduce
Animated Gif/Screenshot
I chose "bulk unit size = 30" for the "Amandes vrac" product
bulk co-op Supplier report
In admin/reports/bulk_coop, Supplier report, 0 value is displayed
bulk co-op Allocation report
In admin/reports/bulk_coop, Allocation report, the right value (30) is displayed. But with #9745 it's not possible to rely on this report.
Severity
bug-s3: a feature is broken but there is a workaround
The text was updated successfully, but these errors were encountered: