mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Bug fix
This commit is contained in:
parent
ace61c6aab
commit
c8bbd25001
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user