mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-30 20:55:42 +00:00 
			
		
		
		
	do not run through template classes
This commit is contained in:
		| @@ -115,7 +115,7 @@ def trigger_notifaction(obj, entry_name=None, obj_ref='pk', receivers=None, rece | ||||
|         # collect possible methods | ||||
|         delivery_methods = inheritors(NotificationMethod) | ||||
|  | ||||
|         for method in delivery_methods: | ||||
|         for method in [a for a in delivery_methods if a not in [SingleNotificationMethod, BulkNotificationMethod]]: | ||||
|             logger.info(f"Triggering method '{method.method_name}'") | ||||
|             try: | ||||
|                 deliver_notification(method, obj, entry_name, receivers, notification_context) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user