commit | e4f2c7b213755b5406c4a8057aaa8c093acc25a0 | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Mon Jun 04 11:48:50 2012 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Mon Jun 04 11:48:50 2012 +0530 |
tree | 9581dea347fbf3cb7b833f695d3af57ac22d5116 | |
parent | e91d8ccc5c8c865b36d35001d699899159e34cb5 [diff] |
series issue in attendance template
diff --git a/erpnext/hr/doctype/attendance_control_panel/attendance_control_panel.py b/erpnext/hr/doctype/attendance_control_panel/attendance_control_panel.py index 06a9a76..7726980 100644 --- a/erpnext/hr/doctype/attendance_control_panel/attendance_control_panel.py +++ b/erpnext/hr/doctype/attendance_control_panel/attendance_control_panel.py
@@ -85,7 +85,7 @@ msgprint("Please create naming series for Attendance.\nGo to Setup--> Numbering Series.") raise Exception else: - sr = series[0][0] or '' + sr = series[0] or '' return {'fy':fy,'comp':comp,'sr':sr}