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 f4f9326890f..bf6f19b653c 100644 --- a/addons/hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml +++ b/addons/hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml @@ -9,7 +9,7 @@ - I assign this product(Service on Timesheet) and journal(Timesheet Journal) to employee "Quentin Paolino" - - !record {model: hr.employee, id: hr.employee_qdp}: + !record {model: hr.employee, id: hr.employee_demo}: product_id: product.product_product_consultant journal_id: hr_timesheet.analytic_journal - @@ -69,7 +69,7 @@ - account_id: account.analytic_agrolait date: !eval time.strftime('%Y-%m-%d') name: 'Develop yaml for hr module' - user_id: base.user_qdp + user_id: base.user_demo unit_amount: 6.00 amount: -90.00 product_id: product.product_product_consultant @@ -97,7 +97,7 @@ date: !eval time.strftime('%Y-%m-%d') name: 'Develop yaml for hr module' unit_amount: 2.00 - user_id: base.user_qdp + user_id: base.user_demo amount: -90.00 product_id: product.product_product_consultant general_account_id: account.a_expense diff --git a/addons/project/project_demo.xml b/addons/project/project_demo.xml index 320ad72c0d3..51dedd61c63 100644 --- a/addons/project/project_demo.xml +++ b/addons/project/project_demo.xml @@ -106,7 +106,7 @@ - + 4 Prepare Requirements Document @@ -203,7 +203,7 @@ - + 2 Social network integration diff --git a/addons/project/test/task_process.yml b/addons/project/test/task_process.yml index ad4bbe53bb3..e37b2116714 100644 --- a/addons/project/test/task_process.yml +++ b/addons/project/test/task_process.yml @@ -11,7 +11,7 @@ - state == "pending" - !record {model: project.task.delegate, id: delegate_id}: - user_id: base.user_niv + user_id: base.user_demo planned_hours: 12.0 planned_hours_me: 2.0 - diff --git a/addons/project_timesheet/test/work_timesheet.yml b/addons/project_timesheet/test/work_timesheet.yml index 2f75f908735..4867f92b4b1 100644 --- a/addons/project_timesheet/test/work_timesheet.yml +++ b/addons/project_timesheet/test/work_timesheet.yml @@ -6,7 +6,7 @@ name: Test Timesheet records task_id: project.project_task_10 hours: 20.0 - user_id: base.user_fpi + user_id: base.user_demo company_id: base.main_company - I check Timesheet line for employee in current Timesheet @@ -16,6 +16,7 @@ start = (datetime.date.today().strftime('%Y-%m-%d')) task_work = self.search(cr, uid, [("name","=","Social network integration: Test Timesheet records")],context)[0] task_ids = self.browse(cr, uid, task_work, context) - assert task_ids.user_id.id == ref("base.user_fpi"), 'Error, The User in Timesheet is not Correct' + assert task_ids.user_id.id == ref("base.user_demo"), 'Error, The User in Timesheet is not Correct' assert task_ids.date == start, 'Error, The Date in Timesheet is not ok' assert task_ids.product_uom_id.name == "Hour", 'Error, The Hour in Timesheet is not ok' +