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 |
|
Oliver Walters
|
a0e7d37a19
|
Add setting for enabling / disabling test reports
|
2021-02-04 21:15:19 +11:00 |
|
Oliver Walters
|
5aec487c12
|
TestReport name no longer needs to be unique
|
2021-02-04 21:15:07 +11:00 |
|
Oliver Walters
|
bc36775270
|
Copy default test report across
|
2021-02-04 20:25:01 +11:00 |
|
Oliver Walters
|
59904ace1d
|
Revoke support for LaTex reporting
|
2021-02-04 16:18:28 +11:00 |
|
Oliver Walters
|
264bd625d3
|
Remove debug string
|
2021-02-04 16:13:03 +11:00 |
|
Oliver Walters
|
0de284f1aa
|
Unit fixes
|
2021-02-04 16:06:01 +11:00 |
|
Oliver Walters
|
6ebebe03d4
|
Simplify report snippet class definition
|
2021-02-04 15:38:41 +11:00 |
|
Oliver Walters
|
a025b7239d
|
Adds simple test-report template
|
2021-02-04 15:29:46 +11:00 |
|
Oliver Walters
|
ddbf2a6313
|
Add margin callouts for report template base
|
2021-02-04 14:49:11 +11:00 |
|
Oliver Walters
|
cf0c43d899
|
Add report base template
|
2021-02-04 13:54:26 +11:00 |
|
Oliver Walters
|
801b945438
|
Add current date to report context
|
2021-02-04 13:33:14 +11:00 |
|
Oliver Walters
|
3ccc500e8e
|
Add more context data to report
|
2021-02-04 12:58:19 +11:00 |
|
Oliver Walters
|
cbadb2a888
|
Small refactor, and allow editing of ReportAsset in the admin interface
|
2021-02-03 21:54:11 +11:00 |
|
Oliver Walters
|
90bef69a59
|
Adds "report snippet" class allowing re-usable report snippets to be uploaded
|
2021-02-03 16:58:06 +11:00 |
|
Oliver Walters
|
59e37b2526
|
Improve filter validation for test report
|
2021-01-19 08:15:50 +11:00 |
|
Oliver Walters
|
1b835a71df
|
Print one (or more!) report templates via API
|
2021-01-18 21:17:19 +11:00 |
|
Oliver Walters
|
cbb286e46d
|
Add API for stock item test report
|
2021-01-18 20:55:30 +11:00 |
|
Oliver Walters
|
bb72658e76
|
Rearrange button options for StockItem
|
2021-01-07 00:18:18 +11:00 |
|
Oliver Walters
|
ef032d406f
|
Bugfix for stock report filter
|
2020-12-15 11:57:52 +11:00 |
|
Oliver Walters
|
d674eacd78
|
Ensure correct path separator is returned
|
2020-09-13 21:10:11 +10:00 |
|
Oliver Walters
|
5c4781b5b4
|
Order: Improve help text(s)
|
2020-08-31 19:13:24 +10:00 |
|
Oliver Walters
|
54d0c4e8a8
|
Bugfix: Select test report template
- Actually, two bugs!
|
2020-08-26 14:29:49 +10:00 |
|
Oliver Walters
|
ca1985e11a
|
PEP fixes
|
2020-08-23 21:10:45 +10:00 |
|
Oliver Walters
|
9a35293126
|
Remove PartFilterMixin class
|
2020-08-23 21:08:41 +10:00 |
|
Oliver Walters
|
ed5ad3c047
|
Rename 'part_filters' field to 'filters'
|
2020-08-23 21:05:54 +10:00 |
|
Oliver Walters
|
c849f618d5
|
Clean up implementation of test report matching
|
2020-08-23 21:03:29 +10:00 |
|
Oliver Walters
|
b7ae95686e
|
Add field "enabled" to Report template
|
2020-08-23 20:51:41 +10:00 |
|
Oliver Walters
|
116d966d29
|
Delete "ReportTemplate" class
|
2020-08-23 09:10:56 +10:00 |
|
Oliver Walters
|
771b2117c4
|
Remove duplicated function
|
2020-08-23 09:08:24 +10:00 |
|
Oliver Walters
|
8e0dfa9c6f
|
PEP fix
|
2020-08-20 14:05:55 +10:00 |
|
Oliver Walters
|
64ae181bf6
|
Add some more context data
|
2020-08-20 14:01:41 +10:00 |
|
Oliver Walters
|
5a8804f4bc
|
If LaTeX template errors, return the raw LaTeX!
|
2020-08-20 13:57:29 +10:00 |
|
Oliver Walters
|
2280558303
|
Add a method of return raw LaTeX for debugging
|
2020-08-15 19:27:31 +10:00 |
|
Oliver Walters
|
75cdc7eb59
|
Catch some errors related to missing system packages
|
2020-05-25 14:57:15 +10:00 |
|
Oliver Walters
|
34b40d205e
|
Expose 'part' to the TestReport interface
|
2020-05-22 23:08:15 +10:00 |
|
Oliver Walters
|
e6f56cb056
|
where one or more test report templates exist for a part,
provide a button for all stock-items of that part,
allowing the user to generate and download a test repotr
|
2020-05-22 22:25:05 +10:00 |
|
Oliver Walters
|
71681bfda1
|
Add a button if a stock item test report is available
|
2020-05-22 21:38:05 +10:00 |
|
Oliver Walters
|
1ad7e699a9
|
PEP
|
2020-05-22 21:31:21 +10:00 |
|
Oliver Walters
|
0ec880290b
|
Functionality for retrieving test templates associated with a given part
|
2020-05-22 21:29:58 +10:00 |
|
Oliver Walters
|
7215a563b1
|
Add PartFilterMixin
|
2020-05-22 21:22:43 +10:00 |
|
Oliver Walters
|
616f17d08a
|
Reset the report app migrations
|
2020-05-22 21:01:08 +10:00 |
|
Oliver Walters
|
d6cad372db
|
Add migration
|
2020-05-22 13:05:30 +10:00 |
|
Oliver Walters
|
865a6db828
|
Fix subdirectory lookup
|
2020-05-22 13:05:12 +10:00 |
|
Oliver Walters
|
174c4cc591
|
Add subclass models for report types
|
2020-05-22 13:01:21 +10:00 |
|
Oliver Walters
|
251a23d127
|
Cleanup
|
2020-05-22 00:09:51 +10:00 |
|
Oliver Walters
|
cab87a6860
|
Update admin
|
2020-05-22 00:01:36 +10:00 |
|
Oliver Walters
|
b93ba6339a
|
Option for rendering HTML template
|
2020-05-21 23:41:47 +10:00 |
|
Oliver Walters
|
c3dcabcaad
|
Render an uploaded template to LaTeX
|
2020-05-21 23:03:01 +10:00 |
|
Oliver Walters
|
70c5b27d22
|
Add ReportAsset model
- Files which can be embedded into a report
|
2020-05-21 14:05:25 +10:00 |
|
Oliver Walters
|
b78fe88c26
|
PEP fixes
|
2020-05-21 13:53:17 +10:00 |
|
Oliver Walters
|
3d8c059a43
|
Add "report" app
- Define ReportTemplate model which contains a report file template
|
2020-05-21 13:51:13 +10:00 |
|