I want to customize query before fetching data in specific module. is there any hook available to achieve this functionality. like; before_load or before_fetch kind of something.
Thanks.
I want to customize query before fetching data in specific module. is there any hook available to achieve this functionality. like; before_load or before_fetch kind of something.
Thanks.
Explicit is better than implicit. Change the whole query.
https://frappe.io/docs/user/en/guides/app-development/overriding-link-query-by-custom-script