mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-15 21:05:33 +00:00
[refactor] Remove django-weasyprint entirely (#9316)
* Remove django-weasyprint entirely * Handle null request * Bug fix
This commit is contained in:
1 parent
3afafe594b
commit
a453c9b286
7 files changed
+64
-104
No files matched your search
@@ -148,7 +148,6 @@ class MyLabelPrinter(LabelPrintingMixin, InvenTreePlugin):
|
||||
Send the label to the printer
|
||||
|
||||
kwargs:
|
||||
pdf_file: The PDF file object of the rendered label (WeasyTemplateResponse object)
|
||||
pdf_data: Raw PDF data of the rendered label
|
||||
filename: The filename of this PDF label
|
||||
label_instance: The instance of the label model which triggered the print_label() method
|
||||
|
||||
Reference in new issue
Block a user