OCA / bank-payment

Odoo Electronic Payment
https://odoo-community.org/psc-teams/banking-10
GNU Affero General Public License v3.0
197 stars 516 forks source link

[8.0] account_banking_pain_base: 'Cannot compute Creditor name' #578

Closed thomaspaulb closed 2 years ago

thomaspaulb commented 5 years ago

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 accept False 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.

thomaspaulb commented 5 years ago

@omar7r

github-actions[bot] commented 2 years ago

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.