From 55329ffbf65caf525ad8fd0f2b4c4fea3a034268 Mon Sep 17 00:00:00 2001 From: "ARA (OpenERP)" Date: Tue, 3 May 2011 18:30:24 +0530 Subject: [PATCH] [FIX] hr_timesheet_*: fix yml warning bzr revid: ara@tinyerp.com-20110503130024-rs4iyy2tjcmyn7y0 --- .../hr_timesheet_invoice/test/test_hr_timesheet_invoice.yml | 2 +- addons/hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/hr_timesheet_invoice/test/test_hr_timesheet_invoice.yml b/addons/hr_timesheet_invoice/test/test_hr_timesheet_invoice.yml index d48d045cbeb..d7b59c02124 100644 --- a/addons/hr_timesheet_invoice/test/test_hr_timesheet_invoice.yml +++ b/addons/hr_timesheet_invoice/test/test_hr_timesheet_invoice.yml @@ -56,7 +56,7 @@ for invoice in invoice_id.invoice_line: product = invoice.product_id.id - product_exp = data['product'] + product_exp = data['product'][0] assert product == product_exp assert aline.invoice_id, "Invoice created, but analytic line wasn't updated." diff --git a/addons/hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml b/addons/hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml index edab4b2d840..2574be443ba 100644 --- a/addons/hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml +++ b/addons/hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml @@ -27,7 +27,7 @@ gender: male marital: hr.hr_employee_marital_status_single name: Mark Johnson - user_id: base.user_root + user_id: base.user_demo - I create new Timesheet journal for employee. @@ -69,7 +69,7 @@ date_to: !eval "'%s-05-31' %(datetime.now().year)" name: !eval "'Week-22(%s)' %(datetime.now().year)" state: new - user_id: base.user_root + user_id: base.user_demo employee_id: 'hr_employee_employee0' - Now , at the time of login, I create Attendances and perform "Sign In" action.