Bank transfer: Use less cryptic refund references (fixes #4289) (#5626)

* Bank transfer: Use less cryptic refund references (fixes #4289)

* Add condition back in

* Fix tests
This commit is contained in:
Raphael Michel
2025-11-18 14:52:44 +01:00
committed by GitHub
parent 2669afa1f8
commit 5eade62121
3 changed files with 12 additions and 1 deletions

View File

@@ -185,6 +185,7 @@ def test_unite_transaction_rows():
'iban': 'DE12345678901234567890',
'bic': 'HARKE9000',
'id': "ROLLA-R-1",
'locale': "en",
'comment': None,
'amount': Decimal("42.23"),
},
@@ -193,6 +194,7 @@ def test_unite_transaction_rows():
'iban': 'DE111111111111111111111',
'bic': 'ikswez2020',
'id': "PARTY-R-1",
'locale': "en",
'comment': None,
'amount': Decimal("6.50"),
}
@@ -206,6 +208,7 @@ def test_unite_transaction_rows():
'iban': 'DE12345678901234567890',
'bic': 'HARKE9000',
'id': "ROLLA-R-1",
'locale': "en",
'comment': None,
'amount': Decimal("7.77"),
},
@@ -214,6 +217,7 @@ def test_unite_transaction_rows():
'iban': 'DE111111111111111111111',
'bic': 'ikswez2020',
'id': "PARTY-R-2",
'locale': "en",
'comment': None,
'amount': Decimal("13.50"),
}
@@ -225,6 +229,7 @@ def test_unite_transaction_rows():
'iban': 'DE12345678901234567890',
'bic': 'HARKE9000',
'id': "ROLLA-R-1",
'locale': "en",
'comment': None,
'amount': Decimal("50.00"),
},
@@ -233,6 +238,7 @@ def test_unite_transaction_rows():
'iban': 'DE111111111111111111111',
'bic': 'ikswez2020',
'id': 'PARTY-R-1, PARTY-R-2',
'locale': "en",
'comment': None,
'amount': Decimal('20.00'),
}], key=_row_key_func)