mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-24 07:53:47 +00:00
Fix, utilise la bonne fonction d'envoie de mails
This commit is contained in:
parent
52f3d4d550
commit
5b347f3db4
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ def send_mail_invoice(invoice):
|
||||||
'Votre facture / Your invoice',
|
'Votre facture / Your invoice',
|
||||||
template.render(ctx),
|
template.render(ctx),
|
||||||
GeneralOption.get_cached_value('email_from'),
|
GeneralOption.get_cached_value('email_from'),
|
||||||
[invoice.user.email],
|
[invoice.user.get_mail],
|
||||||
attachments=[('invoice.pdf', pdf, 'application/pdf')]
|
attachments=[('invoice.pdf', pdf, 'application/pdf')]
|
||||||
)
|
)
|
||||||
mail.send()
|
mail.send()
|
||||||
|
|
Loading…
Reference in a new issue