[SOLVED] How to open doctype B after saving doctype A?


I want to write a script in which I will be able to perform step-by-step transaction.
I have a TRANSACTION and 4 DOCTYPES which are one big doctype (~150 fields) split logically into 4 smaller.

When I fill form for doctype A I want to move to B then to C then to D. Prefferably to link this operation to save button in each doctype. How can I achieve such?



you can use frappe.set_route("Form", doctype, docname) method in JS script

Thanks, Makarand

@makarand_b - thank you, when you wrote the proper command I was able to see similar topic:


and mighty cheatsheet :slight_smile: :
Please close the topic.

1 Like