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.