Sunday, June 27, 2021
2 changes · master
Enhancements to existing features
The Helpdesk app has been refined to make daily work and initial setup easier for support teams. Related Helpdesk integrations, such as timesheets, field service, sales, coupons, stock, repairs, accounting, and forum support, were updated for a more consistent and user-friendly experience.
Original PR description
*_= helpdesk_sale_timesheet, helpdesk_sale_coupon,helpdesk_fsm,helpdesk_account, helpdesk_timesheet, helpdesk_stock, website_helpdesk_forum The purpose of the commit is to improve the usability and onboarding of the helpdesk app. Related Community PR: https://github.com/odoo/odoo/pull/71505 Task-ID: 2531495
Code cleanup and technical improvements
Timesheet time label logic has been consolidated into one shared place, reducing duplicated code across project and reporting areas. This makes future maintenance easier and helps keep timesheet displays consistent when used by different parts of the system.
Original PR description
The purpose of the commit is in order to avoid code duplication and ease maintenance, the _apply_time_label method has been centralized in hr.timesheet which makes more sense since the relation to the timesheet encoding unit. It can now be used in other models by providing the right model name. TaskID: 2451722