Hi,Hope everyone is doing great can someone guide me how i can set a button in a doctype togoto other documets like in item doctype i want a button to goto item price doctype thanks
frm.add_custom_button(__(“Go to Item”), function () {
frappe.set_route(“Form”, “Item”, frm.doc.item_name);
});
is it a client side script
how did you get the route of action??
what will be the path for items
can you provide me with the routes for item doctype that
there should be a button to goto item price