Hi everyone,
Is there a way to call the rename method for a doctype via Python code or is it simply doc.rename(newname)
?
Thanks!
Hi everyone,
Is there a way to call the rename method for a doctype via Python code or is it simply doc.rename(newname)
?
Thanks!
Nvm. Found it.
For those who’re looking for the method, it’s:
frappe.rename_doc("DocType", old_name, new_name)