Skip to content

Commit

Permalink
Merge pull request #2271 from frappe/mergify/bp/version-15-hotfix/pr-…
Browse files Browse the repository at this point in the history
…2267

feat(Expense Claim): allow update of cost centre and project on submit (backport #2267)
  • Loading branch information
krantheman authored Oct 9, 2024
2 parents a512a15 + 3309750 commit 41e23d3
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 41e23d3

Please sign in to comment.