Skip to content

Commit

Permalink
feat(Expense Claim): allow update of cost centre and project on submit
Browse files Browse the repository at this point in the history
  • Loading branch information
krantheman committed Oct 9, 2024
1 parent 33685a4 commit 9b325b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hrms/hr/doctype/expense_claim/expense_claim.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@
"read_only": 1
},
{
"allow_on_submit": 1,
"fieldname": "project",
"fieldtype": "Link",
"label": "Project",
Expand Down Expand Up @@ -248,6 +249,7 @@
"options": "Account"
},
{
"allow_on_submit": 1,
"fetch_from": "company.cost_center",
"fetch_if_empty": 1,
"fieldname": "cost_center",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 9b325b7

Please sign in to comment.