[ADD] added default value for user_id
bzr revid: bde@tinyerp.com-20121112103455-aar7t15a4bixjyrj
This commit is contained in:
parent
0a0072169b
commit
89f8722f23
|
@ -169,7 +169,8 @@ class hr_timesheet_sheet(osv.osv):
|
|||
'date_to' : _default_date_to,
|
||||
'state': 'new',
|
||||
'employee_id': _default_employee,
|
||||
'company_id': lambda self, cr, uid, c: self.pool.get('res.company')._company_default_get(cr, uid, 'hr_timesheet_sheet.sheet', context=c)
|
||||
'company_id': lambda self, cr, uid, c: self.pool.get('res.company')._company_default_get(cr, uid, 'hr_timesheet_sheet.sheet', context=c),
|
||||
'user_id': _default_employee
|
||||
}
|
||||
|
||||
def _sheet_date(self, cr, uid, ids, forced_user_id=False, context=None):
|
||||
|
|
Loading…
Reference in New Issue