Change Id without using Rename tool

Dear community,

I created new doctype called Worksheet, in that worksheet i need to change one ID name,but in rename tool that doctype not available,its possible to add doctypes in rename tool or any alternate soln to change my ID.


Need to change ID same as Title.

doctype not available in rename tool
Thanks in Advance.

Hi @Mohamed2335,

Because if Checked “Allow Rename” for the doctype then it will appear in the rename tools.

Thank You!

thanks for the help

Also we can update the document name using rename_doc function via Python (Document API)|

frappe.rename_doc(doctype, old_name, new_name, merge=False)

Rename will only work if Allow Rename is set in the DocType Form.

1 Like