Code to navigate to summary screen in Sales Order

Hi Friends, I am trying to understand the code in erpnext-Sales order. Add new order click save, after saving, a summary of order list is displayed. I have created a sales order doctype in Frappe, on savig the sales order I would like to show the list of orders. Any ideas, can someone point me to the code. Thanks

Hi @CoffeeHolic Are you referring to the list view of the Window? You can check out sales_order_list.js it holds the code for how list view works. As for calling it after save, not quite sure on this one. Thanks! Hope this helps.

Thanks for the prompt reply Creamdory. I am referring to the code for navigating from sales order when user clicks Save, to the sales order list. The event handler code for the save button