Thursday, January 23, 2020
1 change · master
Enhancements to existing features
The project overview now gives managers clearer profitability and task status information, including late tasks, overtime tasks, and other project revenues. It also makes sales order details collapsible by default and fixes multi-company employee filtering so reports show the right people data.
Original PR description
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…
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