addons14/account_banking_pain_base/models/res_bank.py
def _check_bic(self):
        """
        This method strengthens the constraint on the BIC of the bank account
        (The account_payment_order module already checks the length in the
         check_bic_length method).
        :raise: ValidationError if the BIC doesn't respect the regex of the
        SEPA pain schemas.
        """
        invalid_banks = self.filtered(lambda r: r.bic and not BIC_REGEX.match(r.bic))
        if invalid_banks:
            raise ValidationError(
                _(
                    "The following Bank Identifier Codes (BIC) do not respect "
                    "the SEPA pattern:\n{bic_list}\n\nSEPA pattern: "
                    "{sepa_pattern}"
                ).format(
                    sepa_pattern=BIC_REGEX.pattern,
                    bic_list="\n".join(invalid_banks.mapped("bic")),
                )
            )

        This method strengthens the constraint on the BIC of the bank account
        (The account_payment_order module already checks the length in the
         check_bic_length method).
        :raise: ValidationError if the BIC doesn't respect the regex of the
        SEPA pain schemas.
        
This method strengthens the constraint on the BIC of the bank account
(The account_payment_order module already checks the length in the
check_bic_length method).
This method strengthens the constraint on the BIC of the bank account ( The account_payment_order module already checks the length in the check_bic_length method ) .
def _check_bic(self):
        invalid_banks = self.filtered(lambda r: r.bic and not BIC_REGEX.match(r.bic))
        if invalid_banks:
            raise ValidationError(
                _(
                    "The following Bank Identifier Codes (BIC) do not respect "
                    "the SEPA pattern:\n{bic_list}\n\nSEPA pattern: "
                    "{sepa_pattern}"
                ).format(
                    sepa_pattern=BIC_REGEX.pattern,
                    bic_list="\n".join(invalid_banks.mapped("bic")),
                )
            )
def _check_bic ( self ) : invalid_banks = self . filtered ( lambda r : r . bic and not BIC_REGEX . match ( r . bic ) ) if invalid_banks : raise ValidationError ( _ ( "The following Bank Identifier Codes (BIC) do not respect " "the SEPA pattern:\n{bic_list}\n\nSEPA pattern: " "{sepa_pattern}" ) . format ( sepa_pattern = BIC_REGEX . pattern , bic_list = "\n" . join ( invalid_banks . mapped ( "bic" ) ) , ) )
This method strengthens the constraint on the BIC of the bank account
(The account_payment_order module already checks the length in the
check_bic_length method).
This method strengthens the constraint on the BIC of the bank account ( The account_payment_order module already checks the length in the check_bic_length method ) .
"""
        This method strengthens the constraint on the BIC of the bank account
        (The account_payment_order module already checks the length in the
         check_bic_length method).
        :raise: ValidationError if the BIC doesn't respect the regex of the
        SEPA pain schemas.
        """
ValidationError if the BIC doesn't respect the regex of the
SEPA pain schemas.
ValidationError if the BIC doesn ' t respect the regex of the SEPA pain schemas .
self