From 2b1693bd0d8d80b080d00f1f3460c2d11f2bf375 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 7 Feb 2016 16:09:31 +0100 Subject: [PATCH] Add test when project has no timesheet work issue5260 review21631002 --- tests/scenario_project_invoice_timesheet.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/scenario_project_invoice_timesheet.rst b/tests/scenario_project_invoice_timesheet.rst index 2a51769f35..e4101b6cde 100644 --- a/tests/scenario_project_invoice_timesheet.rst +++ b/tests/scenario_project_invoice_timesheet.rst @@ -137,6 +137,13 @@ Create a Project:: >>> project.save() >>> task, = project.children +Add a task without timesheet work:: + + >>> task2 = project.children.new() + >>> task2.name = 'Task 2' + >>> task2.type = 'task' + >>> project.save() + Create timesheets:: >>> TimesheetLine = Model.get('timesheet.line')