Website get_list_context method

I need to create new tab in “My Account” view, I’ve found how to add tab and this tab should have list for “Warranty Claim” how I can realize it? I’ve found that I need method “get_list_context” in warranty_claim module but I can not change files from erpnext. Is there exists variant add this method in my custom_app?

You also have to inherit from WebsiteGenerator and add it in hooks.py (sorry its a bit complicated!)

Can you explain please what should I add to hooks.py?
Can you please give example how I can update Warranty Claim in my new app.

Check how its done for Blog Post

Hi @rmehta I need the place where i can overrid get_list_context in hook file