Is it possible to add a shortcut link in the 3 dots under list view

Reference: How i can add custom button on leave application at list view side - #3 by NCP

That for, you have to add the client script for listview so please check it.

frappe.listview_settings["Car Parking Daily Sales"] = {
    refresh: function(listview) {
        listview.page.add_menu_item(__("Close Entry"), () => {
            frappe.msgprint("Close Entry Clicked");
         // add your logic
        });
    }
};

Also check your doctype name and set it in the script.

2 Likes