mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-06 15:00:27 +00:00
replaced get_value
This commit is contained in:
@@ -70,7 +70,7 @@ class DocType:
|
||||
for d in self.get_employees():
|
||||
la = Document('Leave Allocation')
|
||||
la.employee = cstr(d[0])
|
||||
la.employee_name = get_value('Employee',cstr(d[0]),'employee_name')
|
||||
la.employee_name = webnotes.conn.get_value('Employee',cstr(d[0]),'employee_name')
|
||||
la.leave_type = self.doc.leave_type
|
||||
la.fiscal_year = self.doc.fiscal_year
|
||||
la.posting_date = nowdate()
|
||||
|
||||
Reference in New Issue
Block a user