mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 03:09:09 +00:00
fix(typo): leave_application.py
This commit is contained in:
@@ -126,7 +126,7 @@ class LeaveApplication(Document):
|
|||||||
|
|
||||||
if attendance_name:
|
if attendance_name:
|
||||||
# update existing attendance, change absent to on leave
|
# update existing attendance, change absent to on leave
|
||||||
doc = frappe.get_doc('Attendance', attendance_date)
|
doc = frappe.get_doc('Attendance', attendance_name)
|
||||||
if doc.status != status:
|
if doc.status != status:
|
||||||
doc.db_set('status', status)
|
doc.db_set('status', status)
|
||||||
doc.db_set('leave_type', self.leave_type)
|
doc.db_set('leave_type', self.leave_type)
|
||||||
|
|||||||
Reference in New Issue
Block a user