[IMP]:hr_timesheet_sheet:add description
authorapa-tiny <apa@tinyerp.com>
Wed, 1 Sep 2010 12:04:41 +0000 (17:34 +0530)
committerapa-tiny <apa@tinyerp.com>
Wed, 1 Sep 2010 12:04:41 +0000 (17:34 +0530)
bzr revid: apa@tinyerp.com-20100901120441-s8y6mzyzlqt56tib

addons/hr_timesheet_sheet/hr_timesheet_sheet.py

index eff7261..acbe668 100644 (file)
@@ -93,6 +93,7 @@ class hr_timesheet_sheet(osv.osv):
     _name = "hr_timesheet_sheet.sheet"
     _table = 'hr_timesheet_sheet_sheet'
     _order = "id desc"
+    _description="Timesheet"
 
     def _total_day(self, cr, uid, ids, name, args, context=None):
         res = {}
@@ -147,7 +148,7 @@ class hr_timesheet_sheet(osv.osv):
                 sheet_id = link_emp[emp.id]
                 result[sheet_id] = emp.state
         return result
-    
+
     def check_employee_attendance_state(self, cr, uid, sheet_id, context=None):
         ids_signin = self.pool.get('hr.attendance').search(cr,uid,[('sheet_id', '=', sheet_id),('action','=','sign_in')])
         ids_signout = self.pool.get('hr.attendance').search(cr,uid,[('sheet_id', '=', sheet_id),('action','=','sign_out')])