replaced get_value

This commit is contained in:
Anand Doshi
2012-11-30 17:16:03 +05:30
parent a2c6349342
commit 535fbb1b00
19 changed files with 29 additions and 30 deletions

View File

@@ -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()