Audric Onockx (auon) 61ae0b4e10 [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: 3e78c0dbf4adb98e98affefe7da526f73aa529e8
Related: odoo/enterprise#22762
Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
2021-12-07 15:31:46 +00:00
2021-10-21 19:09:48 +00:00
2021-12-07 15:31:39 +00:00
2021-10-21 19:09:48 +00:00
…
…
2015-09-08 17:58:38 +02:00
2021-11-04 10:21:58 +00:00
2021-10-07 17:59:53 +00:00
2021-10-21 19:09:48 +00:00
2021-10-21 19:09:48 +00:00

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%