def METHOD_NAME(self):
    self.ensure_one()
    return {
        "name": _("Payment lines"),
        "type": "ir.actions.act_window",
        "view_mode": "tree,form",
        "res_model": "account.payment.line",
        "domain": [("mandate_id", "=", self.id)],
    }