-
Notifications
You must be signed in to change notification settings - Fork 46
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
ComputationField Class and Count #77
Comments
Hello @Parthian Can you share your ReportView as well? The Code you shared looks alright to my eyes |
Report added. I've kept my working in as I blunder around. |
hmmm can not reproduce , are you sure it beeps on the mentioned ReportView ? |
I was on 1.0.2. Just upgraded to 1.10. I've turned off the Count stuff just to get back to a working table. I've restarted my local setup via runserver. |
kindly note the django slick report now diverged from what django-erp-framework is assuming and it would need to get up to date with a bit. |
I'm also running the code on my server. Installed new 1.10 and collectstatic too. This debug may help - it appears to be the first mention of value
/home/username/apps/bms/env/lib/python3.10/site-packages/slick_reporting/fields.py, line 165, in apply_aggregation |
Add block extra_head in slick_reporting/base.html Add tests for Count #77 Add documentation for integrating slick reporting into front end Simply and compact the shipped templates
The above results in Cannot resolve keyword 'value' into field. Choices are: then lists all the fields on my model
I'm trying to show Safety Observation Types. Where type is from an Enumerated choice list. To show a Count of various accident types.
TYPE COUNT
Fall 1
Trip 3
That kind of thing. I wonder if 'value' is a default for something I'm not setting?
The text was updated successfully, but these errors were encountered: