diff options
| author | Odoo's Mergebot <xmo+roboto@odoo.com> | 2020-01-23 14:35:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-23 14:35:16 +0100 |
| commit | 28dfe206dfc06cb883207910def53d6205bf21db (patch) | |
| tree | 2657e19a29acec665bb2389ccf3065f040377988 /addons/web/static/src/js/views/form | |
| parent | e73e0ef3c90011c6c3d68554a9becc87cdb7b3ad (diff) | |
| parent | 9fc1dd538b48c5d055799ad6faa24ba5ed9e826d (diff) | |
[MERGE] sale_timesheet: Improve project overview
1) Add the following stat buttons on the right of the Tasks one:
- (fa-tasks) Late Tasks: tasks whose deadline is exceeded (do not include tasks that
don't have a deadline set)
- (fa-tasks) Tasks in Overtime: tasks whose Effective hours are strictly greater than
their Planned hours (if the latter is stricly greater than 0)
2) Remove the sheet view (should be like financial reports)
3) Add an 'Other Revenues' metric under the Profitability section below 'To Invoice'
- It should represent all the revenues other than from timesheets linked to the analytic
account of the project.
- Only visible if greater than 0
4) Allow to fold/unfold the details by SO. It should be folded by default.
Note: Although qweb views have a generic mechanism to manage fold and unfold, this standard
behavior is not used here.
It would imply refactoring the entire code preparing the template data (700+ lines of
code which are hard to read). The quick and dirty way is used for now.
(I wish good luck for the dev if it's one day necessary.)
Task 2119567
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
closes odoo/odoo#40852
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/form')
0 files changed, 0 insertions, 0 deletions
