Timesheet modifs

bzr revid: fp@tinyerp.com-5bf6182e4b0083c2e34621b37cd4cbabe914fa99
This commit is contained in:
Fabien Pinckaers 2007-04-12 07:15:29 +00:00
parent 28ee09d281
commit 6e67e9e173
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ class hr_analytic_timesheet(osv.osv):
'product_id' : _getEmployeeProduct,
'general_account_id' : _getGeneralAccount,
'journal_id' : _getAnalyticJournal,
'date' : lambda self,cr,uid,ctx: ctx.get('date', time.strftime('%Y-%m-%d')),
'user_id' : lambda obj, cr, uid, ctx : ctx.get('user_id', uid),
}