mirror of
https://github.com/NaN-tic/trytond-account_dunning_cron.git
synced 2023-12-13 21:00:14 +01:00
Fix config get default email from
This commit is contained in:
parent
4a43cf4cb2
commit
13f6084a1b
|
@ -75,7 +75,7 @@ class Dunning:
|
|||
('\n'.join(records)),
|
||||
raise_exception=False)
|
||||
|
||||
from_addr = config.get('smtp_default_from_email')
|
||||
from_addr = config.get('email', 'from')
|
||||
to_addr = list(set(emails))
|
||||
|
||||
msg = MIMEText(body, _charset='utf-8')
|
||||
|
|
Loading…
Reference in a new issue