Skip to content

Commit

Permalink
fix(Employee): enable no_copy for relieving_date (backport #37344) (
Browse files Browse the repository at this point in the history
#37358)

Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com>
Co-authored-by: Jignesh (GreyCube Technologies) <jignesh@greycube.in>
fix(Employee): enable `no_copy` for `relieving_date` (#37344)
  • Loading branch information
3 people authored Oct 4, 2023
1 parent 0ecd7d2 commit 2b38b78
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions erpnext/setup/doctype/employee/employee.json
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@
"fieldname": "relieving_date",
"fieldtype": "Date",
"label": "Relieving Date",
"no_copy": 1,
"mandatory_depends_on": "eval:doc.status == \"Left\"",
"oldfieldname": "relieving_date",
"oldfieldtype": "Date"
Expand Down Expand Up @@ -822,7 +823,7 @@
"idx": 24,
"image_field": "image",
"links": [],
"modified": "2023-03-30 15:57:05.174592",
"modified": "2023-10-04 10:57:05.174592",
"modified_by": "Administrator",
"module": "Setup",
"name": "Employee",
Expand Down Expand Up @@ -870,4 +871,4 @@
"sort_order": "DESC",
"states": [],
"title_field": "employee_name"
}
}

0 comments on commit 2b38b78

Please sign in to comment.