From cd0123b2cce81c063f42ff5a9f80665b602bdefd Mon Sep 17 00:00:00 2001 From: ced <> Date: Thu, 1 Mar 2007 10:15:42 +0000 Subject: [PATCH] HR_TIMESHEET_PROJECT: use the wright product bzr revid: ced-a92d89bb057eb407fec1a508fdd1670e55da56c4 --- addons/hr_timesheet_project/wizard/timesheet_hour_encode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hr_timesheet_project/wizard/timesheet_hour_encode.py b/addons/hr_timesheet_project/wizard/timesheet_hour_encode.py index 9c6389c1322..d06cf59997c 100644 --- a/addons/hr_timesheet_project/wizard/timesheet_hour_encode.py +++ b/addons/hr_timesheet_project/wizard/timesheet_hour_encode.py @@ -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'),