From 330975043473cfb3e653f0759c0e08e9f41c3172 Mon Sep 17 00:00:00 2001 From: krantheman Date: Wed, 9 Oct 2024 14:20:37 +0530 Subject: [PATCH] feat(Expense Claim): allow update of cost centre and project on submit (cherry picked from commit 9b325b749941abe4e98e887f665210e878e39179) --- hrms/hr/doctype/expense_claim/expense_claim.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hrms/hr/doctype/expense_claim/expense_claim.json b/hrms/hr/doctype/expense_claim/expense_claim.json index 699068787f..82e23ee728 100644 --- a/hrms/hr/doctype/expense_claim/expense_claim.json +++ b/hrms/hr/doctype/expense_claim/expense_claim.json @@ -177,6 +177,7 @@ "read_only": 1 }, { + "allow_on_submit": 1, "fieldname": "project", "fieldtype": "Link", "label": "Project", @@ -248,6 +249,7 @@ "options": "Account" }, { + "allow_on_submit": 1, "fetch_from": "company.cost_center", "fetch_if_empty": 1, "fieldname": "cost_center", @@ -388,7 +390,7 @@ "idx": 1, "is_submittable": 1, "links": [], - "modified": "2024-06-12 15:56:45.609119", + "modified": "2024-10-09 14:16:06.715586", "modified_by": "Administrator", "module": "HR", "name": "Expense Claim",