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:
Oliver
2026-09-26 17:18:07 +10:00
committed by GitHub
parent 402cbfc6cc
commit ba848a83aa
2 changed files with 2 additions and 0 deletions
@@ -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,
)