mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-05 01:45:28 +00:00
Bug fix
This commit is contained in:
1 parent
ace61c6aab
commit
c8bbd25001
1 file changed
+1
-1
@@ -129,7 +129,7 @@ class EmailNotification(BulkNotificationMethod):
|
||||
|
||||
def send_bulk(self):
|
||||
html_message = render_to_string(self.context['template']['html'], self.context)
|
||||
targets = self.get_targets()
|
||||
targets = self.get_targets().values_list('email', flat=True)
|
||||
|
||||
InvenTree.tasks.send_email(self.context['template']['subject'], '', targets, html_message=html_message)
|
||||
|
||||
|
||||
Reference in new issue
Block a user