Closed thomaspaulb closed 2 years ago
@omar7r
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.
A customer got an error 'Cannot compute Creditor name', raised here. The squelched underlying exception turned out to be
AttributeError: 'bool' object has no attribute 'encode'
, raised here, in unidecode package because unidecode does not acceptFalse
as an input, only strings.I traced this back to here.
Turns out the error was correct because one of the bank accounts in the SEPA payment order did not have a partner name specified. To be able to do a more targeted search for the culprit next time, I have made a fix to display the identifier of the bank payment line in case of an error, as is already the case for other errors.