addons14/account_banking_pain_base/models/account_payment_order.py
def except_messages_prepare_field(self, eval_ctx, field_name):
        """
        Inherit this method to provide more detailed error messages for
        exceptions to be raised while evaluating `field_name` using `eval_ctx`.
        :return: List containing the error messages.
        """
        error_messages = list()
        line = eval_ctx.get("line")
        if line:
            error_messages.append(_("Payment Line has reference '%s'.") % line.name)
        partner_bank = eval_ctx.get("partner_bank")
        if partner_bank:
            error_messages.append(
                _("Partner's bank account is '%s'.") % partner_bank.display_name
            )
        return error_messages

        Inherit this method to provide more detailed error messages for
        exceptions to be raised while evaluating `field_name` using `eval_ctx`.
        :return: List containing the error messages.
        
Inherit this method to provide more detailed error messages for
exceptions to be raised while evaluating `field_name` using `eval_ctx`.
Inherit this method to provide more detailed error messages for exceptions to be raised while evaluating ` field_name ` using ` eval_ctx ` .
def except_messages_prepare_field(self, eval_ctx, field_name):
        error_messages = list()
        line = eval_ctx.get("line")
        if line:
            error_messages.append(_("Payment Line has reference '%s'.") % line.name)
        partner_bank = eval_ctx.get("partner_bank")
        if partner_bank:
            error_messages.append(
                _("Partner's bank account is '%s'.") % partner_bank.display_name
            )
        return error_messages
def except_messages_prepare_field ( self , eval_ctx , field_name ) : error_messages = list ( ) line = eval_ctx . get ( "line" ) if line : error_messages . append ( _ ( "Payment Line has reference '%s'." ) % line . name ) partner_bank = eval_ctx . get ( "partner_bank" ) if partner_bank : error_messages . append ( _ ( "Partner's bank account is '%s'." ) % partner_bank . display_name ) return error_messages
Inherit this method to provide more detailed error messages for
exceptions to be raised while evaluating `field_name` using `eval_ctx`.
Inherit this method to provide more detailed error messages for exceptions to be raised while evaluating ` field_name ` using ` eval_ctx ` .
"""
        Inherit this method to provide more detailed error messages for
        exceptions to be raised while evaluating `field_name` using `eval_ctx`.
        :return: List containing the error messages.
        """
List containing the error messages.
List containing the error messages .
self
eval_ctx
field_name