fix: allow rename for Quality Inspection Parameter

The Quality Inspection Parameter DocType did not have `allow_rename`
enabled, so the "Rename" action was hidden from the form's menu
(the 3-dots / ⋮ options). Since the DocType is auto-named from the
`parameter` field (`autoname: field:parameter`), users had no way to
correct or change a parameter's name once created.

Enable `allow_rename` so users can rename a Quality Inspection
Parameter from the form menu.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
(cherry picked from commit adfef48a65)

# Conflicts:
#	erpnext/stock/doctype/quality_inspection_parameter/quality_inspection_parameter.json
This commit is contained in:
Mohd Haris
2026-06-19 10:51:36 +05:30
committed by Mergify
parent b982935c56
commit 9e6edea818

View File

@@ -1,5 +1,6 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "field:parameter",
"creation": "2020-12-28 17:06:00.254129",
"doctype": "DocType",
@@ -34,7 +35,11 @@
],
"index_web_pages_for_search": 1,
"links": [],
<<<<<<< HEAD
"modified": "2021-02-19 20:33:30.657406",
=======
"modified": "2026-06-19 10:55:00.000000",
>>>>>>> adfef48a65 (fix: allow rename for Quality Inspection Parameter)
"modified_by": "Administrator",
"module": "Stock",
"name": "Quality Inspection Parameter",