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
Add basic reporting core to Shuup (SHUUP-2085) #699
Conversation
|
||
def get_urls(self): | ||
return [ | ||
admin_url("^reporting/$", "shuup.reporting.admin_module.views.ReportView", name="reporting.list") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add permissions
I would like to see this splitted a little. Maybe core, admin, and each reports separately. 1k lines changed in one commit is never a good idea. |
As a suggestion I think better name for this app could be just reports. IMO it would be more in sync with the other apps in Shuup base. |
|
||
class OrderReportMixin(object): | ||
def get_objects(self): | ||
return Order.objects.filter( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably filter cancelled orders or there should be option to remove cancelled orders from the report.
Refer to this link for build results (access rights to CI server needed): |
Refer to this link for build results (access rights to CI server needed): |
Refer to this link for build results (access rights to CI server needed): |
Refer to this link for build results (access rights to CI server needed): |
Refer to this link for build results (access rights to CI server needed): |
Refer to this link for build results (access rights to CI server needed): |
Refer to this link for build results (access rights to CI server needed): |
Refer to this link for build results (access rights to CI server needed): |
Refer to this link for build results (access rights to CI server needed): |
Refs SHUUP-2085
Refs SHUUP-2085
Refer to this link for build results (access rights to CI server needed): |
Refer to this link for build results (access rights to CI server needed): |
Refs SHUUP-2085
Add Sales Report Add Sales Per Hour Report Add Total Sales Report Refs SHUUP-2085
Refer to this link for build results (access rights to CI server needed): |
retest this please |
Refer to this link for build results (access rights to CI server needed): |
Add Total Sales report
Add Sales Report
Add Sales per Hour report
Move pdf tools from order printouts to
shuup/utils
Testing: Cache prices when creating order with product
Refs SHUUP-2085