Django-slick-reporting

Latest version: v1.2.0

Safety actively analyzes 629639 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 7

0.9.0

- Deprecated ``form_factory`` in favor of ``forms``, to be removed next version.
- Deprecated `crosstab_model` in favor of ``crosstab_field``, to be removed next version.
- Deprecated ``slick_reporting.view.SlickReportView`` and ``slick_reporting.view.SlickReportViewBase`` in favor of ``slick_reporting.view.ReportView`` and ``slick_reporting.view.BaseReportView``, to be removed next version.
- Allowed cross tab on fields other than ForeignKey
- Added support for start_date_field_name and end_date_field_name
- Added support to crosstab on traversing fields
- Added support for document types / debit and credit calculations
- Added support for ordering via ``ReportView.default_order_by`` and/or passing the parameter ``order_by`` to the view
- Added return of Ajax response in case of error and request is Ajax
- Made it easy override to the search form. Create you own form and subclass BaseReportForm and implement the mandatory method(s).
- Consolidated the needed resources in ``slick_reporting/js_resource.html`` template, so to use your own template you just need to include it.
- Fixed an issue with report fields not respecting the queryset on the ReportView.
- Fixed an issue if a foreign key have a custom `to_field` set either in ``group_by`` and/or `crosstab_field` .
- Enhancing and adding to the documentation.
- Black format the code and the documentation

0.8.0

- Breaking: [Only if you use Crosstab reports] renamed crosstab_compute_reminder to crosstab_compute_remainder
- Breaking : [Only if you set the templates statics by hand] renamed slick_reporting to ra.hightchart.js and ra.chartjs.js to
erp_framework.highchart.js and erp_framework.chartjs.js respectively
- Fix an issue with Crosstab when there crosstab_compute_remainder = False

0.7.0

- Added SlickReportingListView: a Report Class to display content of the model (like a ModelAdmin ChangeList)
- Added `show_time_series_selector` capability to SlickReportView allowing User to change the time series pattern from
the UI.
- Added ability to export to CSV from UI, using `ExportToStreamingCSV` & `ExportToCSV`
- Now you can have a custom column defined on the SlickReportView (and not needing to customise the report generator).
- You don't need to set date_field if you don't have calculations on the report
- Easier customization of the crispy form layout
- Enhance weekly time series default column name
- Add `Chart` data class to hold chart data

0.6.8

- Add report_title to context
- Enhance SearchForm to be easier to override. Still needs more enhancements.

0.6.7

- Fix issue with `ReportField` when it has a `requires` in time series and crosstab reports

0.6.6

- Now a method on a generator can be effectively used as column
- Use correct model when traversing on group by

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.