mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 11:05:41 +00:00
[refactor] Remove django-weasyprint entirely (#9316)
* Remove django-weasyprint entirely * Handle null request * Bug fix
This commit is contained in:
@ -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