Frappe Cloud Support Partners Foundation Frappe School

Override standard_queries in Core

Hi, I want to override the core standard_queries below in my custom app, but my custom code is not being called.

This is the standard queries in core

standard_queries = {
	"Customer": "erpnext.selling.doctype.customer.customer.get_customer_list",
	"Healthcare Practitioner": ""

This is my custom app

standard_queries = {

     "Healthcare Practitioner": "wellness.whitelisted.get_practitioner_list_custom"


I tested commenting out the core standard_queries in my development, and it does call my custom standard queries. But whenever I put the core code back, it wouldn’t call my custom standard queries.

Can anyone please help? Thanks!