addons14/account_payment_order/models/account_payment_order.py
def generate_payment_file(self):
        """Returns (payment file as string, filename)"""
        self.ensure_one()
        if self.payment_method_id.code == "manual":
            return (False, False)
        else:
            raise UserError(
                _(
                    "No handler for this payment method. Maybe you haven't "
                    "installed the related Odoo module."
                )
            )
Returns (payment file as string, filename)
Returns (payment file as string, filename)
Returns ( payment file as string filename )
def generate_payment_file(self):
        self.ensure_one()
        if self.payment_method_id.code == "manual":
            return (False, False)
        else:
            raise UserError(
                _(
                    "No handler for this payment method. Maybe you haven't "
                    "installed the related Odoo module."
                )
            )
def generate_payment_file ( self ) : self . ensure_one ( ) if self . payment_method_id . code == "manual" : return ( False , False ) else : raise UserError ( _ ( "No handler for this payment method. Maybe you haven't " "installed the related Odoo module." ) )
Returns (payment file as string, filename)
Returns ( payment file as string filename )
"""Returns (payment file as string, filename)"""
self