2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 04:25:42 +00:00

Only send printing failed as a UI notification

This commit is contained in:
Oliver
2022-03-25 16:05:35 +11:00
parent c1b408f8a3
commit 9046c74628
2 changed files with 11 additions and 2 deletions

View File

@ -233,4 +233,5 @@ def print_label(plugin_slug, label_image, label_instance=None, user=None):
'label.printing_failed',
targets=[user],
context=ctx,
delivery_methods=[common.notifications.UIMessageNotification]
)