Override listview settings for existing doctype

Hi All,

I would like to override the existing doctype ListView settings for example : Delivery Note.

I want to override the %Installed or status fields. or add extra fields to it.

Please help me in this.

Hi @sdqadeer44 if i am correct you want to change list view you can go to doctype folder there is file following will help i guess eg:

supplier_quotation_list.js

there are list_view for each type you can find in respective doctype folder

yeah i know but i dont want to touch those files, it will be an issue when i am trying to upgrade.

I want a hook from outside. without touching those files.

You can add this in hooks:

doctype_list_js = {
"Task":"public/js/task_list.js",
"ToDo":"public/js/todo_list.js"
}
4 Likes