-
- Downloads
[FIX] hr_timesheet : round time on task
Steps : - Install Sales & Timesheets - Timesheets > Settings > Time Encoding : - Min duration : 60 min - Rounding up : 15 min - Create a Project P - Create a Product S : - Product Type : Service - Service Invoicing Policy : Timesheets on tasks - Service Tracking : Create a task in an existing project - Project : P - Create a Sales Order SO and add S - SO > 1 Tasks (smart button) as T > Timesheets (tab) > Add a line : - Employee : Mitchell Admin - Duration : 0 - Timesheets > Start : - Time : 1:09 - Project : P - Task : SO:S - T > Timesheets (tab) : Note Time = 1:15 (Min duration + Roundup) - T > Start and Stop - Confirm Time Spent Wizard : Note Duration = 1:00 (Min Duration) - Duration : 1:09 - Save and T > Timesheets (tab) : Note Time = 1:09 Issue: - Unconsistent behaviors : The time is rounded when using Timesheets' timer and from Task's timer to Confirm Time Spent Wizard but it is not rounded when confirming the Wizard. Fix: - Round it in when confirming the wizard too. opw-2672249 closes odoo/odoo#80977 X-original-commit: 3e78c0db Related: odoo/enterprise#22762 Signed-off-by:Laurent Stukkens (ltu) <ltu@odoo.com>
Please register or sign in to comment