Merge branch 'sales_features' into 'dev'

finance email

See merge request !282
remotes/origin/yandex_rebiling
Andrey 8 years ago
commit 712c5fe9ac
  1. 2
      finance/views.py

@ -176,7 +176,7 @@ class InvoiceDetailView(APIView):
html_content = html.render(context)
msg = EmailMultiAlternatives(subject, text_content, [to], bcc=['dmitry.dolya@skillbox.ru'])
msg.attach_alternative(html_content, "text/html")
# msg.attach_alternative(html_content, "text/html")
msg.send()
invoice.save()

Loading…
Cancel
Save