From 06702ffae2d7bdbba32aaba05682d768e9496296 Mon Sep 17 00:00:00 2001 From: ruthra kumar Date: Tue, 7 Oct 2025 10:24:48 +0530 Subject: [PATCH] chore: better description for attachment in Rename Tool --- erpnext/utilities/doctype/rename_tool/rename_tool.json | 7 ++++--- erpnext/utilities/doctype/rename_tool/rename_tool.py | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/erpnext/utilities/doctype/rename_tool/rename_tool.json b/erpnext/utilities/doctype/rename_tool/rename_tool.json index 231cfa6d6e1..ce843a360f9 100644 --- a/erpnext/utilities/doctype/rename_tool/rename_tool.json +++ b/erpnext/utilities/doctype/rename_tool/rename_tool.json @@ -16,7 +16,7 @@ "label": "Select DocType" }, { - "description": "Attach .csv file with two columns, one for the old name and one for the new name", + "description": "Attach a comma separated .csv file with two columns, one for the old name and one for the new name.", "fieldname": "file_to_rename", "fieldtype": "Attach", "label": "File to Rename" @@ -33,7 +33,7 @@ "issingle": 1, "links": [], "max_attachments": 1, - "modified": "2024-03-27 13:10:31.899697", + "modified": "2025-10-07 10:24:36.632780", "modified_by": "Administrator", "module": "Utilities", "name": "Rename Tool", @@ -47,7 +47,8 @@ "write": 1 } ], + "row_format": "Dynamic", "sort_field": "creation", "sort_order": "DESC", "states": [] -} \ No newline at end of file +} diff --git a/erpnext/utilities/doctype/rename_tool/rename_tool.py b/erpnext/utilities/doctype/rename_tool/rename_tool.py index 230845e55de..38ee0f3bf81 100644 --- a/erpnext/utilities/doctype/rename_tool/rename_tool.py +++ b/erpnext/utilities/doctype/rename_tool/rename_tool.py @@ -19,7 +19,7 @@ class RenameTool(Document): from frappe.types import DF file_to_rename: DF.Attach | None - select_doctype: DF.Literal + select_doctype: DF.Literal[None] # end: auto-generated types pass