OCA / bank-payment

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

[16.0] Not error when creating a SEPA mandate with a non-IBAN bank account #1337

Open alexis-via opened 2 months ago

alexis-via commented 2 months ago

Scenario of the bug:

  1. Install the module account_banking_sepa_direct_debit
  2. On partner X, create a non-IBAN bank account (account type = normal)
  3. Create a SEPA mandate linked to that bank account and save => NO ERROR !
  4. Validate the mandate => NO ERROR !

Houston, we have a problem :)

alexis-via commented 2 months ago

My PR https://github.com/OCA/bank-payment/pull/1174/files fixes the bug