Friday, September 18, 2026
4 changes · master
Code cleanup and technical improvements
The HR Work Entry module now uses one shared setup for displaying work entry type badges and labels. This reduces duplicated code and makes future maintenance easier without changing the business workflow.
Original PR description
Unify the work entry type rendering logic to eliminate duplicate files and code: - Remove redundant `work_entry_type_badge_field.js` and `work_entry_type_badge_field.xml`. - Extend the `hr_work_entry.WorkEntryType` QWeb template to accept an optional `label` parameter, enabling it to render either a standalone color pill or a pill with an adjacent label. - Move `WorkEntryTypeBadgeField` into `work_entry_type_field.js` to keep all related field registrations in a single component directory. - Update `hr_work_entry.WorkEntryTypeBadgeField` and `hr_work_entry.Many2OneWorkEntryTypeField` templates to call the unified sub-template with their respective data. Task:6578031 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update modernizes internal component definitions used across Odoo apps such as Accounting, HR, Mass Mailing, Resource, SMS, Survey, and Web. It improves consistency and validation behind the scenes, helping keep the platform maintainable without changing day-to-day user workflows.
Original PR description
See commit messages for details. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#288771
This change removes an obsolete internal setting from the manufacturing work order area. It has no expected impact on daily operations, but it keeps the codebase cleaner and easier to maintain.
Original PR description
Context key hide_unpicked is added with commit cd0ef28d39069857caf0ddb027b9f7415330afce The only place that use the context key was mrp_workorder/views/stock_move_views.xml which was removed in f86a4d39c8c2366fa30fda36bd0de2a086f14aad. This commit removes the unused key.
This update modernizes several user interface components by replacing an older internal configuration pattern with the current validation approach. It helps keep the affected apps maintainable and aligned with the platform framework, with no expected change for end users.
Original PR description
Replaced deprecated uses of `static props` with calls to `useProps()`, providing actual props validation for Owl components.
Whenever possible, also removed "empty" props definition, being either:
- `static props = ["*"]` with no use of `this.props`;
- `static props = {}`.
Forward-Port-Of: odoo/enterprise#131904