def METHOD_NAME(self):
    for mandate in self:
        if mandate.format == "sepa":
            mandate.display_name = "{} ({})".format(
                mandate.unique_mandate_reference, mandate.recurrent_sequence_type
            )
        else:
            mandate.display_name = mandate.unique_mandate_reference