I have 2 doctypes, When i press button i want to send fields data , and items to another doctype, during research i found sample like this. But doesn’t working at all. Any suggestion?
frappe.set_route(‘Form’, ‘Testdatato’, ‘New Testdatato’,{“custom_label”: frm.doc.name}) will work. maybe because putting “New Testdatato 1” will point to the instance “Testdatato 1” and not to the instance that you newly created.