diff options
| author | Akash Bhavsar <abh@odoo.com> | 2017-12-29 14:56:25 +0530 |
|---|---|---|
| committer | jem-odoo <jem@openerp.com> | 2018-01-17 09:34:18 +0100 |
| commit | 2ac5888a8d1f8b2bac89314be1e846106c077cca (patch) | |
| tree | 4ba0d293f628f292896ba7e0a2e21ecade250225 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 66a0e5a541f7311bf7bb05278654b329ae485ea0 (diff) | |
[IMP] hr_timesheet: hour fields calculation
This commit aims to improve duration field calculation
with subtask. So this commit :
- provides `subtask_planned_hours`as the total of planned our from
children tasks
- removes useless/unclear fields : delay_hours and total_hours
- makes progress computation independent from the stage (before,
progress
of task in fold stage was 100%)
- split the `hour_get` compute method into smaller ones in order to
improve
performances and code readability.
- makes 'progress' and subtask effective hours not including allocated
hours
Task: 38498
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
