Kanban Board - Can we modify kanban board function? or Can we modify frappe function

I Want to override function inside frappe not inside erpnext

using my custom_app = ss_custom_erpnext
here my ss_custom_erpnext - hooks.py file override_whitelist_function code

Blockquote
override_whitelisted_methods = {

“frappe.desk.doctype.kanban_board.kanban_board.get_kanban_column_order_and_index” : “ss_custom_erpnext.ss_custom_erpnext.hr.doctype.kanban_board.kanban_board.get_kanban_column_order_and_index”,

}

Blockquote

try using override_whitelisted_methods option in hooks

override_whitelisted_methods = {
    "frappe.client.get_count": "app.whitelisted.custom_get_count"
}

Reference : Hooks

1 Like

The Answer is - Yes we can override frappe function as well as
using this method override_whitelisted_methods

Reference : https://frappeframework.com/docs/v13/user/en/python-api/hooks#override-whitelisted-methods