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
@mubasher-hasan check this Actions and Links
i saw it but the code is not working @Jeel

how did you get the route of action??
@mubasher-hasan route is path of your function
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

