2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-04 22:38:49 +00:00

132 Commits

Author SHA1 Message Date
Oliver
b00ae67d68 Pass dates in templates through the new template tag 2022-02-28 19:10:33 +11:00
Oliver
7c64cb950c Delete template files from cache as they are uploaded 2022-02-18 00:01:49 +11:00
Oliver
6aec40b9ba Improved error messages when report templates (or snippets) are missing! 2022-02-17 23:46:43 +11:00
Oliver
efc749c695 When uploading a report template, keep the existing filename (if it is the same report!) 2022-02-17 23:30:55 +11:00
Matthias
58e8bab83b
except import errors 2022-02-13 22:12:43 +01:00
Matthias
e162eea9a4
no test for malformed paths 2022-02-13 05:17:41 +01:00
Matthias
6437674ca8
ignore database not ready 2022-02-13 05:16:14 +01:00
Matthias
d884e62be1
[FR] Confirm to W293
Fixes #2335
2021-11-23 00:28:23 +01:00
Oliver
56bf0f0487 Fix for printing multiple reports at once
(bug introduced in 79434bb)
2021-11-10 09:03:15 +11:00
Oliver
dabaa9aea5 Adds a function to construct an "absolute" URL
Useful for providing an external link (e.g. in an email)
2021-11-01 23:44:44 +11:00
Oliver
2830fc3c7f Fixes 2021-10-30 14:11:03 +11:00
Oliver
79434bb4e0 Handle missing report template 2021-10-30 13:28:08 +11:00
Matthias
0ebc45e834
replace i html tags 2021-09-02 00:18:47 +02:00
Oliver
f59ed27cf9 Remove reliance on hard-coded PK values 2021-08-12 15:14:13 +10:00
Oliver
e36b1e6c70 PEP fixes 2021-08-12 14:51:18 +10:00
Oliver
6748f37405 Unit tests for report printing 2021-08-12 14:43:04 +10:00
Oliver
96ec8c4eb6 Copy report templates across as part of test setUp 2021-08-12 13:40:08 +10:00
Oliver
032057c93a PEP fixes 2021-08-12 13:18:10 +10:00
Oliver
44818ca0c5 Some simple API unit tests 2021-08-11 17:40:00 +10:00
Oliver
3cdcdd0535 Create report templates when testing 2021-08-11 11:07:30 +10:00
Oliver Walters
e583d1a159 Actually use the variable, I suppose 2021-08-07 22:30:51 +10:00
Oliver Walters
f405e4b701 Add inline option for reports, too 2021-08-07 22:28:48 +10:00
Oliver
00ffab472c Fix for build report template 2021-08-05 10:44:47 +10:00
Oliver
afde997cf9 Expose part parameters to Part label templates 2021-07-21 22:05:52 +10:00
Oliver
87d4a51575 Add "installed items" section to default TestReport 2021-07-19 16:44:56 +10:00
Oliver
4fdb18318a Add "installed_items" as a context variable to the StockItem TestReport template 2021-07-19 16:32:36 +10:00
Oliver
04374c71c2 Annotate models with their API list view
- It will make sense, trust me
2021-06-25 00:17:58 +10:00
Oliver Walters
82a3d9ca96 Implements custom naming for generated labels 2021-05-13 13:40:40 +10:00
Oliver Walters
6de44a5921 Adds a "filename_template" field to reports
- Allows users to define the naming scheme for generated reports
- Templated, can use any context variable already available to the report instance
- Adds some more context variables to various reports
2021-05-13 13:23:51 +10:00
a77d9d9de7 same treatment for html 2021-05-06 14:33:03 +02:00
f2b0717d10 removes all lines consisting only of spaces
this really bothers me for some reason - nothing technical
2021-05-06 12:11:38 +02:00
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
efd14fca64 made translation lazy 2021-04-04 22:47:01 +02:00
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