I want initial listview of a doc to be loaded with some of the rows only. So, I am having frappe.call which calls method that gets data using frappe.db.sql having conditional query. This call returns proper rows. Now I want to load the listview of the doc with this result. But it is not loading.
dotted.path.to.function what is mean ?
can you help me i need to write script or query to show all recrods in the listview if it not has status== "final approval "
In hooks.py you have to specify the path of py file in which you with write method for listview. Path hierarchy from the app folder drilled down to py file.
i.e. Appname.Appname.doctype.docname.docname