From fc1ba68c6a5935b4e86c2709de049aac9867f56d Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Fri, 12 Oct 2018 09:54:04 +0000 Subject: [PATCH] [FIX] sale_timesheet: zero timesheet 1. Create a SO with a product that creates a task on a new project 2. Create a timesheet on the task, with time = 0:00 3. Open the project overview from the projects dashboard or from the SO A crash occurs because of a division by zero. opw-1893397 closes odoo/odoo#27712 --- addons/sale_timesheet/views/hr_timesheet_templates.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sale_timesheet/views/hr_timesheet_templates.xml b/addons/sale_timesheet/views/hr_timesheet_templates.xml index 00f3d8b6858..4b936897ef7 100644 --- a/addons/sale_timesheet/views/hr_timesheet_templates.xml +++ b/addons/sale_timesheet/views/hr_timesheet_templates.xml @@ -147,7 +147,7 @@
- +