Odoo Release Updates
Every commit to Odoo Community and Enterprise, parsed and categorized. Never miss a bug fix, improvement, or new feature.
Activity
2026-03-31
2026-03-30
2026-03-28
2026-03-27
[FIX] hr_payroll: fix ormcache key for _get_parameter_from_code
2026-03-25
This fix modifies the work entry type deletion logic in the HR Payroll module to allow the system administrator (SUPERUSER_ID) to bypass the restriction that normally prevents deletion of work entry types. Previously, all users including the superuser were blocked from deleting these records and forced to archive them instead. The change adds a uid check to exclude the superuser from this business rule enforcement.
[FIX] hr_payroll: Allow SUPERUSER_ID deleting work entry types
This fix removes an obsolete manual payslip_state assignment from demo data for an hr.leave record, allowing the system to automatically compute this field instead. The change eliminates a popup warning that appeared when viewing time off records in the payroll module during demo data initialization, improving the user experience in demonstration environments.
[FIX] hr_payroll: Fix TimeOff popup warning in demo
2026-03-24
This fix corrects the deletion permission logic for salary rules in the HR Payroll module by allowing the SUPERUSER to delete any salary rule, including system-created ones, while preventing regular users from deleting system-generated rules. Previously, the SUPERUSER was incorrectly blocked from deletion due to flawed permission checking logic that only examined rule creation ownership rather than current user identity.
[FIX] hr_payroll: Allow SUPERUSER deleting a salary rule
This fix corrects the calculation of worked day line amounts in payslips when public holidays are present. The bug caused worked day amounts to be incorrectly inflated because public holiday hours were being excluded from work interval calculations, which then artificially reduced the computed work time and increased the per-hour attendance rate. By adding the compute_leaves=False parameter to _work_intervals_batch, the calculation now properly accounts for all hours including those on public holidays.
[IMP] hr_payroll: fix worked day lines amount
2026-03-23
This commit refactors Odoo's tracking API to simplify how addons generate and log field changes across models. It introduces new methods like _track_add (for manual tracking on current model) and _track_record (for logging changes to parent models), removes low-level data manipulation requirements, and adds a mail.track.mixin to allow tracking without inheriting from mail.thread. The changes include comprehensive tests covering various tracking use cases and API documentation updates to reduce confusion around tracking structures.
[IMP] mail: cleanup and test tracking usage
This fix modifies the salary rule and parameter deletion logic in hr_payroll to allow the SUPERUSER to bypass the restriction that prevents deletion of system-created payroll parameters. Previously, the code blocked deletion of any parameter created by the system regardless of user role; now it only enforces this restriction for non-superuser accounts. This enables system administrators and automated processes running with elevated privileges to manage or clean up payroll configuration as needed.
[FIX] hr_payroll: Allow SUPERUSER to unlink salary rules and parameters
This commit systematically adds `.this` prefixes to template variable references across multiple Odoo modules in preparation for OWL3 framework compatibility. The migration changes unqualified component properties, state variables, and method references in XML templates to explicitly use `.this` notation, ensuring templates correctly target component instance members rather than template scope variables. This is a large-scale refactoring applied across accounting, documents, appointment, and knowledge modules to maintain compatibility with OWL3's stricter variable scoping requirements.
[REF] *: run rendering context migration script entire codebase
This commit removes the "Register Payment" button and associated payment registration logic from individual payslips in the core hr_payroll_account module, consolidating payment handling at the payrun level instead. The "Payment Report" button in payruns is renamed to "Pay" for clarity, and related test files are removed, while the Australian localization module now inherits and maintains the payment registration functionality for its specific requirements.
[IMP] hr_payroll: remove register payment logic
2026-03-20
The net wage field in the payslip summary widget has been centered to align with the basic wage field above it, improving visual consistency across different payroll views. This UI alignment change ensures a coherent user experience when viewing payslip information in various contexts within the HR Payroll module.
[IMP] hr_payroll: align net pay in payslip summary widget
2026-03-19
[REF] *: run rendering context migration script again
[REF] l10n_be_hr_payroll: refactor eco vouchers to use rule parameter and autoproration
[REF] web: add this. in rendering context
2026-03-18
[REF] *: migrate type="base64" to "bytes"
[REF] web: add this. in rendering context
[FIX] hr_payroll,l10n_hk_hr_payroll*: Fixes during contract changes
[FIX] hr_payroll: Make action dialog translated
[IMP] hr_payroll: warn on missing explicit reset fields + backfill salary rule
2026-03-17
[IMP] hr_payroll: Add custom warning dialog for payrun continuation