Merge pull request #49930 from ruthra-kumar/better_description_on_rename_tool

chore: better description for attachment in Rename Tool
This commit is contained in:
ruthra kumar
2025-10-07 10:43:28 +05:30
committed by GitHub
2 changed files with 5 additions and 4 deletions

View File

@@ -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": []
}
}

View File

@@ -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