i want to add custom button on leave application at list view side. how i can add
Please check the syntax and set it according.
frappe.listview_settings['Leave Application'].refresh = function(listview) {
listview.page.add_menu_item(__("Menu"));
listview.page.add_action_item(__("Actions"));
listview.page.set_primary_action('Primary Button');
listview.page.set_secondary_action('Secondary Button');
listview.page.add_inner_button("Inner Button");
};
Thank You!
4 Likes
you are a rider bro