Commit Graph

101 Commits

Author SHA1 Message Date
Oliver Walters
06afd4d726 Refactor "ready" state into a function 2021-04-25 10:52:31 +10:00
Oliver Walters
6e5fc43105 Prevent copying of labels and templates during data import phase 2021-04-25 10:33:11 +10:00
Oliver Walters
e787c853e5 Update logger context 2021-04-10 20:08:13 +10:00
Matthias
efd14fca64 made translation lazy 2021-04-04 22:47:01 +02:00
Matthias
20c455384e added more translation-strings 2021-04-04 22:44:14 +02:00
Oliver Walters
5949ccd74f Bug fix 2021-03-11 17:11:57 +11:00
Oliver Walters
f1ba20c3da Basic PO and SO reports 2021-03-11 15:01:25 +11:00
Oliver Walters
eb6310c774 Render company image to report 2021-03-11 15:01:15 +11:00
Oliver Walters
9d321f4833 Removed 2021-03-11 14:47:45 +11:00
Oliver Walters
8e2a2c59bf Add more context data to reports 2021-03-11 14:19:25 +11:00
Oliver Walters
fa95759a00 Enable printing for PO and SO 2021-03-11 14:09:57 +11:00
Oliver Walters
7800664f4b Add printing endpoints 2021-03-10 18:29:22 +11:00
Oliver Walters
5a6a12604e Add detail endpoints 2021-03-10 17:13:19 +11:00
Oliver Walters
33e176e4e7 Add list view API endpoints 2021-03-10 17:09:37 +11:00
Oliver Walters
9b0595d232 Add serializers 2021-03-10 16:53:02 +11:00
Oliver Walters
7f05485954 Add new reports to the admin interface 2021-03-10 16:50:55 +11:00
Oliver Walters
727fd38978 Add new report models 2021-03-10 16:48:20 +11:00
Oliver Walters
8c9202de21 Bug fix for label / report filtering 2021-02-23 15:40:31 +11:00
Oliver Walters
832a6ef9a2 PEP fixes 2021-02-23 09:01:03 +11:00
Oliver Walters
7582b9ccf4 PEP fixes 2021-02-22 17:02:33 +11:00
Oliver Walters
da715d7381 Refactoring label printing 2021-02-22 16:12:13 +11:00
Oliver Walters
caf4c293d9 Rename "barcode" module to "barcodes" to prevent import shadowing
- Add 'barcode' support
2021-02-22 15:15:25 +11:00
Oliver Walters
23da591c22 Remove old dependency on django_qr_code 2021-02-22 15:00:12 +11:00
Oliver Walters
beeb94785d Add option for TestReport to include tests for installed items 2021-02-19 15:50:25 +11:00
Oliver Walters
ef902fc313 Add bom_items to build order report context 2021-02-17 23:27:09 +11:00
Oliver Walters
bb3440a8a4 Refactor bom item filter
- Also updates a number of part functions to make use of inherited BOM items
2021-02-17 22:53:56 +11:00
Oliver Walters
08cc866e74 Add function to make barcode for build order 2021-02-17 13:47:14 +11:00
Oliver Walters
7071ef5a5c Fixes for build report template 2021-02-16 20:53:28 +11:00
Oliver Walters
7d30e75bc6 Display images in report debug mode 2021-02-16 20:40:09 +11:00
Oliver Walters
46f20593c5 Add default build order report
Toot toot refactor tractor
2021-02-16 20:39:07 +11:00
Oliver Walters
f87b15e4ea Refactoring 2021-02-16 20:14:13 +11:00
Oliver Walters
b09e9c0781 Fixes for URL generation 2021-02-16 17:16:36 +11:00
Oliver Walters
fdca3d842d Add report function for generating an internal link 2021-02-16 16:45:13 +11:00
Oliver Walters
6cc0880b4a Add INVENTREE_BASE_URL setting
- Also adds callable validator!
2021-02-16 15:31:04 +11:00
Oliver Walters
e72aaf2e07 PEP fixes 2021-02-16 08:25:52 +11:00
Oliver Walters
a349e77866 Adds model for BuildReport
- List / Detail / Print
2021-02-16 08:25:04 +11:00
Oliver Walters
e8fd336612 Fix getSubdir function 2021-02-12 21:32:26 +11:00
Oliver Walters
4e9b9ee6fd Detail and print view for the BOM report 2021-02-12 21:15:03 +11:00
Oliver Walters
9be2989971 Refactor printing code into ReportPrintMixin 2021-02-12 21:08:33 +11:00
Oliver Walters
a1cf893eb2 List API endpint for BOM reports 2021-02-12 20:55:13 +11:00
Oliver Walters
12821b80fb Add BOMReport model 2021-02-12 20:28:12 +11:00
Oliver Walters
2fa7c8706b Wrap custom filter validation in try/except blocks 2021-02-10 20:40:15 +11:00
Oliver Walters
a5c36e2ca8 Update scheme for inventree test report
- Copy across a simpler report which extends the "base" report
- This way the InvenTree report version is always up to date!
2021-02-06 18:07:27 +11:00
Oliver Walters
ef31727ec9 Would you like some PEPper with that? 2021-02-06 17:58:21 +11:00
Oliver Walters
30d95e1511 Add 'REPORT_DEBUG_MODE' setting
- If set, reports are printed in raw HTML
- Not pretty, but useful for debugging output of rendered template
2021-02-06 17:36:22 +11:00
Oliver Walters
dbaa0fc300 Add default page size for reports
- A4 / Legal / Letter
- Use this for the default page size for InvenTree reports
2021-02-06 17:11:20 +11:00
Oliver Walters
b5e993872f Keep asset and snippet filenames the same (if possible) 2021-02-05 13:51:25 +11:00
Oliver Walters
f458342e5f Add report revision information to the template context 2021-02-05 12:02:16 +11:00
Oliver Walters
33d66182df Add "revision" number to report model
- Auto-increments whenever the model is saved
2021-02-05 12:01:44 +11:00
Oliver Walters
62a7964dda PEP fixes 2021-02-04 21:17:20 +11:00