Rename or merge documents
You can change the ID of a master, such as an Item, a Customer, or a Supplier. ERPNext updates the ID in every document that links to it. For example, when you rename an item code, all Sales Orders and invoices with that item show the new code.
You can also merge two masters: rename one to the ID of the other.
Prerequisites
- The DocType allows renaming. Its Allow Rename setting is on. Most masters allow it, for example Item, Customer, Supplier, Item Group, Customer Group, Supplier Group, Territory, Sales Person, Price List, Brand, Project, and Company.
- The Write permission on the document.
Rename a document
- Open the document.
- Select the title of the document, or open the menu and select Rename.
- Enter the new name.
- Select Rename.
ERPNext updates the linked documents. For a master with many links, this can take some time.
Merge two documents
- Open the document that you want to remove.
- Select Rename.
- Enter the exact ID of the document to keep.
- Select Merge with existing.
- Select Rename.
ERPNext moves all links to the document that you keep, and deletes the other one.
WARNING
You cannot undo a merge.
Rename a group in a tree
Masters such as Item Group, Customer Group, and Territory are trees. To rename a node:
- Open the tree view of the master, for example the Territory tree.
- Select the node.
- Select Rename, and enter the new name.
Accounts and cost centers do not use the standard rename. Open the account or cost center, and select Update Account Name / Number or Update Cost Center Name / Number.