Monday, April 3, 2023
9 changes · master
Enhancements to existing features
Timesheet screens now show sales order line information by default, making it easier for users to connect logged time with customer work. Invoiced timesheets are also made read-only, helping prevent accidental changes after billing.
Original PR description
Purpose of this PR to improve generic UX of timesheet app. So in this PR done following changes: - make readonly_timesheet field to add it in timesheet views to make field readonly and avoid many xpath and simply override that method's compute to change readonly condition. - make so_line field default show in timesheet tree view and task form view's timesheet page tree view. task-2918757
Timesheet employee selections now show the employee's company when multiple companies exist. This helps users distinguish between employees with the same name across different companies and reduces selection mistakes.
Original PR description
1. hr_timesheet: use name_get to add employee's company
Currently, if both companies have employees with the same name, it is not known which
company the selected employee belongs to.
In this commit, the name of the company will only be appended by the name_get when more than
one company is present in the database.
Example
- Administrator - My Company
- Administrator - Tiny ERP
task-3101249Timesheet task progress can now show values above 100%, making overruns visible instead of capping the display. Task list progress bars turn red when progress exceeds 100%, helping users quickly spot work that has gone beyond the planned amount.
Original PR description
Allow tasks' progress to go beyond go beyond 100%. In tasks' list views, display the progress bar in red if the progress > 100%. task-2909337 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This pull request enhances several shared web interface building blocks used by Odoo Studio, including tabs, selection menus, field selectors, and drag-and-drop behavior. These changes make the Studio sidebar and related interactions more flexible and reliable, while also improving automated test stability.
Original PR description
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-pr
This update makes timesheet, attendance, and sales portal workflows clearer and more reliable. It improves invoice lookup in the portal, tidies timesheet display labels, adds remaining-hours visibility on sales orders, and ensures company-wide time off creates the expected timesheets for affected employees.
Original PR description
_* = hr_contract, hr_timesheet_attendance, project_timesheet_holidays Purpose of this commit is to do generic UX. So, in this commit done following points: - improve search on invoice for portal commit when invoice is in draft then search on id of invoice instead of name. - display unit_amount field in muted when value of unit_amount is equal to 0. - rename timesheet attendance report. - add remaining hours on sales order field. - create timesheets for global leaves even if global leaves does not have calendar set on it. - add a part time resource calendar and add employee contracts for employees on that calendar and add timesheets for that employees. task-2969791
Timesheet and planning screens were simplified and clarified to make daily work easier. The update removes less-used reporting views from validation menus, improves field display and filters, and adjusts planning contract demo data to avoid conflicts.
Original PR description
-* = project_timesheet_forecast,helpdesk_timesheet helpdesk_sale_timesheet, planning_contract Purpose of this commit is to do generic UX. - remove graph and pivot view from to validate menus actions. - display unit_amount field in muted when value of unit_amount is equal to 0. - rename 'timesheet and planning' report menu and its action. - add 'My Tickets' filter in timesheet search view. - add remaining hours on sales order field in timesheet form view. - remove some employees contracts from planning_contract module to avoid contract conflict. task-2969791
New automated checks cover key planning template workflows, including creating templates, assigning them to shifts, and showing the right options by role and project. This helps protect planning and forecasting behavior from future regressions without changing user-facing features.
Original PR description
This commit adds some units to cover the following business cases: - the creation of a template - selection of a template for a shift - display the corresponding template on a shift - the right templates are displayed based on the selected role and project task-3051324
Project Updates now show 'N/A' in the Planned column when a sale order line is measured in units rather than hours. This avoids showing misleading planning information where planned hours cannot be calculated.
Original PR description
In Project Update's description, display 'N/A' in non-plannable cells. The column 'Planned' contains, for each sale order line, the sum of hours of planning slot related to it. When the sold product is measured in unit, this is not possible. task-2909337 related: https://github.com/odoo/odoo/pull/96104
Timesheet screens now better reflect validated or invoiced entries by making them read-only, helping prevent accidental changes to finalized work. The update also makes sales order line details easier to see in relevant helpdesk timesheets and schedules emails based on company working days.
Original PR description
*_*=helpdesk_timesheet,helpdesk_sale_timesheet,sale_timesheet_enterprise Purpose of this PR to improve generic UX of timesheet app. So in this PR done following changes: - make timesheet views fields readonly when timesheet are validated or invoiced. - make so_line field default show in ticket form view's timesheet page tree view. - take company's working days into account when computing next date to send mail (e.g. if next date is on sunday 10 then next date will be monday 11). task-2918757