diff options
| author | Odoo's Mergebot <robodoo@odoo.com> | 2020-08-03 15:32:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-03 15:32:46 +0200 |
| commit | 30d1222d1110682b6a02d984b5e616a289d489ad (patch) | |
| tree | 690de2d2d35f52357e34cef72b27884cde9aa060 /addons/mail/static/src/models/thread_cache | |
| parent | b5762c00f90a6a954b0f33bd94904f493ca1dbc8 (diff) | |
| parent | cae4ac23815a03c60b58fec6ab4b68357eded1a0 (diff) | |
[MERGE] hr_timesheet: clean durations expressed in hours if encoding unit is in days
Purpose
=======
There are several places where the duration is expressed in hours even though the encoding unit is in Days.
Specifications
===========
The duration should be expressed in days instead of hours in the following places:
[x] Timesheet Entries
[x] Portal > Tickets
[x] Portal > Timesheets
[x] Portal > Tasks
[x] Portal > Sales Orders
[x] Project Overview
[x] Project task form view (in this case, the label of the field should be 'Planned Days')
[x] Timesheets > HR Timesheet/Attendence Report
[x] Project > All Tasks
Hide the following elements if the encoding unit is in days:
[x] 'Timesheet Timer' feature on the project form view
[x] 'Timesheet Timer' feature on the Helpdesk team form view
[x] the 'Round timesheets' feature in the settings of Timesheets (except if the 'Awesome Timesheet' feature is enabled)
Bonus point:
[x] Timesheet form view: 0.00 Days should be displayed in read-only if the duration = 0
Some labels need to be adapted to explicit the unit of measure (is it carrots? potatoes?): e.g. Duration (Days) or Time Spent (Hours) :
[x] Timesheet entries report
[x] on the portal
[x] Project overview: add 'recorded' next to Hours/Days
[x] Project overview: add 'Days/hours Spent' above the total by employee
[x] task form view: make sure the 'sub-tasks days spent' button/label stays on one line
[x] hide the 'start' button on project tasks and helpdesk tickets if the encoding unit is in days
Task ID : 2152322
closes odoo/odoo#46184
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache')
0 files changed, 0 insertions, 0 deletions
