HR_TIMESHEET_PROJECT: use the wright product

bzr revid: ced-a92d89bb057eb407fec1a508fdd1670e55da56c4
This commit is contained in:
ced 2007-03-01 10:15:42 +00:00
parent e2e065ce5b
commit cd0123b2cc
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ def _action_line_create(self, cr, uid, data, context):
for work in tw.browse(cr, uid, ids, context):
if work.task_id.project_id.category_id:
unit_id = ts._getEmployeeUnit(cr, uid, context)
product_id = ts._getEmployeeUnit(cr, uid, context)
product_id = ts._getEmployeeProduct(cr, uid, context)
res = {
'name': work.name,
'date': time.strftime('%Y-%m-%d'),