diff --git a/base_iban_bic_not_required/model/res_partner_bank.py b/base_iban_bic_not_required/model/res_partner_bank.py index 89d6d8d3e..126e628bd 100644 --- a/base_iban_bic_not_required/model/res_partner_bank.py +++ b/base_iban_bic_not_required/model/res_partner_bank.py @@ -29,6 +29,10 @@ class res_partner_bank(orm.Model): #workaround for lp:933472 return True + # Redefine constraint to update its function reference _constraints = [ - (_check_bank, '\nPlease define BIC/Swift code on bank for bank type IBAN Account to make valid payments', ['bic']) + (_check_bank, + '\nPlease define BIC/Swift code on bank for bank ' + 'type IBAN Account to make valid payments', + ['bic']) ]