How to override config files

Hi guys,
i want to override the buying.py config file. how to override that file?

What do you want to achieve?

when i click on supplier group link in buying module it should navigates to tree view format as of now it navigate to list view format . so how to get tree view format when click on supplier group link

You need to modify the desktop.py / desktop.js a little bit. Try to search them in the forum.

PS: I usually make a bookmark such that http://192.168.1.190:8001/desk#Tree/Supplier%20Group

thanks for the reply… but i need to override the buying config file in erpnext .