mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-27 14:16:02 +00:00
Disable retry for label printing (#12937)
prevents multiple label copies sent to machine - e.g. if timeout occurs on first attempt
This commit is contained in:
@@ -197,6 +197,7 @@ class LabelPrintingMixin:
|
||||
plugin_label.print_label,
|
||||
self.plugin_slug(),
|
||||
group='plugin',
|
||||
retry=False,
|
||||
**print_args,
|
||||
)
|
||||
|
||||
|
||||
@@ -108,6 +108,7 @@ class InvenTreeLabelPlugin(LabelPrintingMixin, InvenTreePlugin):
|
||||
output=output,
|
||||
force_sync=settings.TESTING or driver.USE_BACKGROUND_WORKER,
|
||||
group='plugin',
|
||||
retry=False,
|
||||
**print_kwargs,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user