mirror of
https://github.com/NaN-tic/trytond-account_dunning_cron.git
synced 2023-12-13 21:00:14 +01:00
Follow PEP-0249 for Transaction and backends
This commit is contained in:
parent
fbb61eba2e
commit
5dfc30d6a1
|
@ -69,7 +69,7 @@ class Dunning:
|
|||
|
||||
if emails:
|
||||
subject = cls.raise_user_error('request_title',
|
||||
(Transaction().cursor.dbname),
|
||||
(Transaction().database.name),
|
||||
raise_exception=False)
|
||||
body = cls.raise_user_error('request_body',
|
||||
('\n'.join(records)),
|
||||
|
|
Loading…
Reference in a new issue