Tuesday, November 2, 2021
6 changes · master
Enhancements to existing features
Timesheet reports are clearer and easier to use, with updated column names, better placement of descriptions, and a reusable report layout. Project timesheet entries can now be reported more directly, and internal project names are clearer for users working across multiple companies.
Original PR description
Purpose of this commit to improve ux for
timesheet app.
So, In this commit done following changes:
- make name field of account.analytic.line model
translatable by user.
- changes in report of timesheet:
- make generic table templete for timesheet.
- changes label for employee_id field column
'responsible' into 'employee' and unit_
amount field column 'time spent (hours)'
into 'hours spent' and 'time spent (days)'
into 'days spent'.
- move name(description) field column right of
the task column.
- add timesheet entry report for project.
- change internal project name when user has
access to multiple companies.
Task Id: 2604773
Description of the issue/feature this PR addresses:
Current behavior before PR:
Desired behavior after PR is merged:
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThis update adds pager support to Odoo’s newer web interface framework and improves related control panel behavior. It also fixes a focus issue and adds supporting utilities and tests, making navigation in web views more reliable and consistent.
Helpdesk team visibility has been adjusted so portal and internal users receive read access in a way that matches other Odoo apps such as Project. This makes access behavior more predictable and consistent for users working across modules.
Original PR description
The purpose: The way portal and internal users are granted the reading access to the records, differs in the helpdesk from the other modules, which is a bit inconsistent from the users point of view. In this task, the above mentioned behavior is aligned to how it's done in the module - project. task - 2590082
The Map view has been modernized to use Odoo’s newer interface technology, helping make it easier to maintain and evolve. Project’s specialized map experience was updated as part of this work, while map configuration values were standardized across Event, Project, and Stock for more consistent behavior.
Original PR description
In this PR, we convert the Map view to OWL. The legacy implementation is kept as it is still used in studio and in the dashboard app (it is lazy loaded though). This PR also adapts the specialized Map view for Project. Finally, the arch attributes of the Map view have been uniformized in xml (by convention, we now use "1" or "0" for boolean values). Co-authored-by: Francois Georis <fge@odoo.com> Co-authored-by: Géry Debongnie <ged@odoo.com> Co-authored-by: Simon Genin <ges@odoo.com> Co-authored-by: Michael Mattiello <mcm@odoo.com> Co-authored-by: Bruno Boi <boi@odoo.com>
Timesheets now show quick links to related sales orders and invoices when those records exist and the user has permission to view them. Draft timesheets also use a grey status color, making the visual state more consistent and less distracting.
Original PR description
Purpose of this commit to improve generic usage of timesheet app. So, In this commit done following change: - add stat button for sale order and invoice in the form view of timesheet visible only if their values are set on timesheet and user have access right to see that form view. - change color of status in kanban view for draft timesheets from 'blue' to 'grey'. Task Id: 2604773
Resolved issues and error corrections
Timesheet timers now stay accurate even when the browser tab is inactive. This prevents time entries from drifting due to browser performance throttling, improving confidence in recorded work time.
Original PR description
When a tab with a running timer is inactive, the timer value can become inaccurate, because timers are throttled to improve performance. To fix this, this commit will compute the timer as the difference between the current time and the time the timer was started at. Task-2649119