mirror of
https://github.com/inventree/InvenTree.git
synced 2025-12-19 05:11:41 -06:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8c0b35ba69 | ||
|
|
b1d0f3cb9e |
@@ -18,7 +18,7 @@ from django.conf import settings
|
||||
from .api_version import INVENTREE_API_TEXT, INVENTREE_API_VERSION
|
||||
|
||||
# InvenTree software version
|
||||
INVENTREE_SW_VERSION = '1.0.3'
|
||||
INVENTREE_SW_VERSION = '1.0.4'
|
||||
|
||||
|
||||
logger = logging.getLogger('inventree')
|
||||
|
||||
@@ -38,6 +38,10 @@ class InvenTreeUINotifications(NotificationMixin, InvenTreePlugin):
|
||||
if not users:
|
||||
return False
|
||||
|
||||
# Ensure that there is always target object - see https://github.com/inventree/InvenTree/issues/10435
|
||||
if not target:
|
||||
target = self.plugin_config()
|
||||
|
||||
# Bulk create notification messages for all provided users
|
||||
for user in users:
|
||||
entries.append(
|
||||
|
||||
Reference in New Issue
Block a user