diff options
author | Magnus Hagander | 2020-04-04 13:41:43 +0000 |
---|---|---|
committer | Magnus Hagander | 2020-04-04 13:43:56 +0000 |
commit | 48859d79e13ab762dceed76066ea8cb005bc29b5 (patch) | |
tree | d71edb8d631e1c9d9f0ce19acce5050cf6ac02df /postgresqleu/invoices/util.py | |
parent | f05f5a6501941792e51143a28ab013eaa00ce6d2 (diff) |
Store id instead of internalname of payment method for bank transfers
Internal names can change, and since this field is only ever used
internally or in debugging anyway, it's better to store the id.
Diffstat (limited to 'postgresqleu/invoices/util.py')
-rw-r--r-- | postgresqleu/invoices/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresqleu/invoices/util.py b/postgresqleu/invoices/util.py index 5080bf62..13505f43 100644 --- a/postgresqleu/invoices/util.py +++ b/postgresqleu/invoices/util.py @@ -863,7 +863,7 @@ def register_bank_transaction(method, methodidentifier, amount, transtext, sende (status, _invoice, _processor) = manager.process_incoming_payment_for_invoice( invoice, amount, - "Bank transfer from {0} with id {1}".format(method.internaldescription, methodidentifier), + "Bank transfer from method {0} with id {1}".format(method.id, methodidentifier), 0, # No fees on bank transfers supported pm.config('bankaccount'), 0, # No fees, so no fees account |