InvenTree/InvenTree/report
Oliver a066fcc909
Add new global setting to control auto-upload of test reports (#3137)
* Add new global setting to control auto-upload of test reports

* Adds callback to attach a copy of the test report when printing

* Fix for all attachment API endpoints

- The AttachmentMixin must come first!
- User was not being set, as the custom 'perform_create' function was never called

* Remove duplicated UserSerializer

* display uploading user in attachment table

* Add unit test to check the test report is automatically uploaded
2022-06-06 15:20:41 +10:00
..
migrations Adds a "filename_template" field to reports 2021-05-13 13:23:51 +10:00
templates/report fix endline 2022-05-20 13:35:07 +02:00
templatetags Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
__init__.py Add "report" app 2020-05-21 13:51:13 +10:00
admin.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
api.py Add new global setting to control auto-upload of test reports (#3137) 2022-06-06 15:20:41 +10:00
apps.py Add more checks to pre-commit (#3132) 2022-06-06 08:56:52 +10:00
models.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
serializers.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
tests.py Add new global setting to control auto-upload of test reports (#3137) 2022-06-06 15:20:41 +10:00