InvenTree/InvenTree/plugin
Oliver a0b1ba62a9
Label sheet printer (#5883)
* Add skeleton for new label sheet plugin

* Add custom printing options serializer

* Render individual label outputs to HTML

* Extract page size and column size

* Check label dimensions before printing

* Split labels into multiple pages / sheets

* Render out multiple labels onto a single sheet

* Cleanup base label template

- Allow @page style to *not* be generated
- Pass through as optional context variable
- Check that it still works for single label printing (default behaviour unchanged)
- Prevents multiple @page styles from being generated on label sheet output

* Fix stylesheets for part labels

* Cleanup stock location labels

* Cleanup more label templates

* Check if label can actually fit on page

* Generate output to PDF and return correct response

* Update panel.md

* Fix unit tests

* More unit test fixes
2023-11-09 09:00:23 +11:00
..
base Label sheet printer (#5883) 2023-11-09 09:00:23 +11:00
broken Move broken plugin samples to disabled folders (#5642) 2023-10-02 10:39:17 +11:00
builtin Label sheet printer (#5883) 2023-11-09 09:00:23 +11:00
migrations increased settings value from 200 to 2000 (#5403) 2023-08-06 21:47:14 +10:00
mixins Add basic support for scanning vendor barcodes (#5509) 2023-10-19 23:28:21 +11:00
mock Improve plugin testing (#3517) 2022-08-16 13:09:48 +10:00
samples Printing options (#5786) 2023-11-02 00:39:19 +11:00
templatetags Fix common spelling mistakes (#4956) 2023-06-04 00:04:52 +10:00
__init__.py BREAKING (#3283) 2022-07-03 12:32:35 +10:00
admin.py Exchange rate plugin (#5667) 2023-10-05 21:19:28 +11:00
api.py refactor: remove blank lines after docstring (#5736) 2023-10-18 07:28:57 +11:00
apps.py Plugin reload mechanism (#5649) 2023-10-04 09:00:11 +11:00
events.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
helpers.py refactor: remove blank lines after docstring (#5736) 2023-10-18 07:28:57 +11:00
installer.py refactor: remove blank lines after docstring (#5736) 2023-10-18 07:28:57 +11:00
models.py refactor: remove blank lines after docstring (#5736) 2023-10-18 07:28:57 +11:00
plugin.py refactor: refactor unnecessary `else` / `elif` when `if` block has a `return` statement (#5735) 2023-10-18 09:06:54 +11:00
registry.py Skip plugin registry reload if performing django functions (#5823) 2023-10-31 15:47:59 +11:00
serializers.py refactor: remove blank lines after docstring (#5736) 2023-10-18 07:28:57 +11:00
template.py Plugin framework updates (#3535) 2022-08-16 16:10:18 +10:00
test_api.py refactor: remove blank lines after docstring (#5736) 2023-10-18 07:28:57 +11:00
test_helpers.py Optimisations for editable installs of plugins (#3634) 2022-09-05 13:03:26 +10:00
test_plugin.py refactor: remove blank lines after docstring (#5736) 2023-10-18 07:28:57 +11:00
urls.py Prevent plugin URL routing if ENABLE_PLUGINS_URL setting is disabled (#5648) 2023-10-03 12:58:39 +11:00
views.py Add flake8-logging linting (#5620) 2023-09-28 14:53:22 +10:00