chore(stock): drop the dead title template on Material Request

`set_title()` runs in validate and always fills `title` first, so
`set_title_field()` never renders `{material_request_type}`, and
create_new.js skips defaults for the field `title_field` names. Titles
stay "<type> Request for <items>".
This commit is contained in:
Mihir Kandoi
2026-07-30 08:22:01 +05:30
parent 03d84430b6
commit 38e5674ea4

View File

@@ -68,7 +68,6 @@
}, },
{ {
"allow_on_submit": 1, "allow_on_submit": 1,
"default": "{material_request_type}",
"fieldname": "title", "fieldname": "title",
"fieldtype": "Data", "fieldtype": "Data",
"hidden": 1, "hidden": 1,
@@ -377,7 +376,7 @@
"idx": 70, "idx": 70,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2026-03-09 17:15:30.124509", "modified": "2026-07-30 11:04:31.517204",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Stock", "module": "Stock",
"name": "Material Request", "name": "Material Request",