Tuesday, June 2, 2026
15 changes · master
New functionality added to Odoo
This update improves Hong Kong's accounting reporting by refining account mappings within the payroll module and adding new balance sheet and profit & loss reports. These changes ensure accurate financial reporting for businesses operating in Hong Kong, aligning with local accounting standards.
Original PR description
Update account mappings in l10n_hk_hr_payroll_account and add balance sheet and profit and loss reports in l10n_hk_reports. Community PR: https://github.com/odoo/odoo/pull/267388 task-6150684
This update introduces new views specifically designed for managing devices within the Obox module. These views improve the user experience by providing a clearer and more organized way to view and interact with device information. This enhancement supports better device tracking and management within the Obox system.
Original PR description
This PR adds obox device views to obox module
Enhancements to existing features
This update aligns the Odoo Enterprise HR Payroll module with recent changes in the community version. Specifically, the 'in_contract' filter has been removed and replaced with two new filters: 'permanent_contract' and 'fixed_term_contract'. This ensures consistent employee data management across all Odoo versions.
Original PR description
This change adapt the filter addition and permissions to reflect the changes done in the community repo, where in_contract flter has been removed and replaced with 2 other filters, permanent_contract and fixed_term_contract. https://github.com/odoo/odoo/pull/254687 task-6040824
Resolved issues and error corrections
This update fixes an issue where POS order payments incorrectly displayed negative amounts for customer balances. When a customer paid their account through a POS order, a negative 'pay_later' amount caused inaccurate calculations and inflated the 'Settle due amount' button. This ensures correct balance representation.
Original PR description
When a customer paid off their account balance through a POS order, a negative pay_later amount was used. The condition `if order_due:` in `_compute_customer_due_total` evaluated to True for negative values, causing `customer_due_total` and `init_customer_due_total` to be set to a negative amount. This made `pos_orders_amount_due` on the partner go negative, which in turn inflated `remainingDue` in the frontend (remainingDue = totalDue - posOrdersAmountDue), showing a wrong amount in the "Settle due amount" button. opw-6187771 Forward-Port-Of: odoo/enterprise#117813 Forward-Port-Of: odoo/enterprise#116394
Features or functions removed from Odoo
This update removes a reset button from the HR payroll views. This change reverts a previous update that introduced an issue. The removal ensures consistent and reliable payroll processing for users.
Original PR description
This reverts commit e35572b. task-6075229 Forward-Port-Of: odoo/enterprise#118174
Code cleanup and technical improvements
This update enhances the reliability of Odoo's transaction management by integrating signaling within the Web Studio and data cleaning modules. The system now automatically handles registry setup, reducing potential issues and improving overall stability. This change primarily impacts the user experience within these modules.
Original PR description
https://github.com/odoo/odoo/pull/255059
This update fixes an issue where the Timesheet Assistant incorrectly suggested declined calendar events to users. The system now accurately includes events where the user is an attendee, regardless of their RSVP status, improving the assistant's usefulness and accuracy.
Original PR description
### Before this commit: The Timesheet Assistant would incorrectly suggest calendar events that the user had explicitly declined. Furthermore, the domain only retrieved events where the user was the organizer (`user_id`), completely missing events where the user was only an attendee. ### After this commit: The `get_calendar_events` getter in `_get_assistant_events_getters` is updated to: 1. Include events where the current user is an attendee by adding a condition on `partner_ids`. 2. Explicitly exclude events where the user's `calendar.attendee` status is 'declined'. Task-6222659 Forward-Port-Of: odoo/enterprise#117613
This update corrects a naming inconsistency in the account reports testing suite. The test function `_check_vies_iap` has been renamed to `_check_vies_validity_iap` to align with recent changes made by the community. This ensures consistent and accurate testing of account reporting functionality.
Original PR description
See commit
This update fixes a usability issue within the Timesheet Assistant by opening internal links in a modal window. This keeps users within the Timesheets Assistant menu, providing a smoother and more intuitive experience when navigating related information. It addresses a minor inconvenience for users managing their timesheets.
Original PR description
This commit opens the internal links in the custom form view displayed in the timesheet assistant inside a modal to stay in Timesheets Assistant menu. task-[6132392](https://www.odoo.com/odoo/project/4105/tasks/6132392) Forward-Port-Of: odoo/enterprise#118277 Forward-Port-Of: odoo/enterprise#114596
This update clarifies the 'invalid_scope' error message, which previously wasn't clear enough for users. The change ensures users understand why consent couldn't be granted for a specific company, improving the user experience and reducing confusion.
Original PR description
The invalid_scope error message means the user doesn't hav the legal rights to give consent for the given company. But the error message is not clear enough. This commit improve the error message clarity. task-6144883 Forward-Port-Of: odoo/enterprise#115650
This update fixes a minor issue in the DMFA report where the 'Calculation Basis' and 'Contribution Type' headers were incorrectly switched. The headers have now been corrected to their proper order, ensuring accurate reporting for payroll calculations. This ensures data consistency and reliability for financial reporting.
Original PR description
DMFA report had "Calculation Basis" and "Contribution Type" header switched. Got switched back correctly. task-6227590 Forward-Port-Of: odoo/enterprise#117740
This update fixes a bug that caused errors when date calculations involved missing or `None` offset values. The change ensures that date calculations are accurate by defaulting the offset to 0 when it's not provided, preventing unintended date movements.
Original PR description
Currently, an exception is raised when `offset` is `None` and is compared
with `MIN_OFFSET` or `MAX_OFFSET`.
Currently `offset = op.get("offset", 1)` to assign a default value of `1` when
the `offset` key was missing from `op`. However, this does not handle cases
where the `offset` key is present but its value is `None`.
This commit fixes the issue by defaulting `offset` to `0` when it is missing or
`None` in `op`. Using the default value ensures no date movement occurs
when `offset` is not explicitly provided.
Sentry-7448086997
Forward-Port-Of: odoo/enterprise#118466This update replaces the use of `useState` with a proxy pattern across numerous Odoo addons (Owl3). This refactoring improves performance and maintainability by optimizing data handling within these modules. It primarily impacts the functionality of modules related to financial reporting, accounting, and various business applications.
Original PR description
In Owl3, uses of `useState` or replace with `proxy`. This commit changes all those uses for addons in the range [a..!m]. *: account_accountant,account_bank_statement_import,account_bank_statement_import_csv,account_base_import,account_loans,account_online_payment,account_online_synchronization,account_reports,accountant_knowledge,ai,ai_website,ai_website_livechat,appointment,delivery_envia,delivery_sendcloud,delivery_starshipit,documents,documents_spreadsheet,equity,esg,event_iot,frontdesk,helpdesk,hr_appraisal,hr_contract_salary,hr_expense_stripe,hr_payroll,hr_referral,iap_extract,iot,knowledge,l10n_at_pos,l10n_be_hr_payroll,l10n_ch_hr_payroll,l10n_fr_fec_import,l10n_in_hr_payroll,l10n_mx_edi_pos,l10n_pe_edi_pos,l10n_sa_hr_payroll_attendance
This update removes the 'useComponent' pattern from the AI module's code. This simplification improves the AI module's performance and reduces complexity, streamlining the development process. The change is a refactoring effort to enhance the AI module's maintainability.
This update simplifies the way Odoo handles email notifications by replacing an older listener mechanism with a more streamlined listener. This change enhances the reliability and efficiency of email processing within the system, leading to faster and more consistent delivery of important notifications. It’s a routine update focused on internal system improvements.
Original PR description
task-6267936