mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05:42 +00:00 
			
		
		
		
	fix mail comparison
This commit is contained in:
		| @@ -131,7 +131,7 @@ def trigger_notifaction(obj, entry_name=None, obj_ref='pk', receivers=None, rece | |||||||
| def deliver_notification(cls: NotificationMethod, obj, entry_name: str, receivers, notification_context: dict): | def deliver_notification(cls: NotificationMethod, obj, entry_name: str, receivers, notification_context: dict): | ||||||
|     method = cls(obj, entry_name, receivers) |     method = cls(obj, entry_name, receivers) | ||||||
|  |  | ||||||
|     if method.recipiends and method.recipiends > 0: |     if method.recipiends and method.recipiends.count() > 0: | ||||||
|         logger.info(f"Notify users via '{method.method_name}' for notification '{entry_name}' for '{str(obj)}'") |         logger.info(f"Notify users via '{method.method_name}' for notification '{entry_name}' for '{str(obj)}'") | ||||||
|  |  | ||||||
|         if 'send_bulk' in method: |         if 'send_bulk' in method: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user