Thursday, January 16, 2025
12 changes · saas-18.1
Resolved issues and error corrections
Project settings now display analytic plan labels and their selection fields in the expected order. This makes the form easier to read and use without changing how it behaves on mobile devices.
Original PR description
This commit's purpose is to fix the alignment of the plans and the selection fields associated to those plan in the setting of the form view of projects. The issue was caused by the extra 'div' inside the group, which was disrupting the usual display order of 'field name' - 'field selection' Solution: remove that extra div and adds a css class to handle margin issue with the group section. Adding a 'colspan' was a cleaner solution, but it also update the display of fields in mobile view, and we don't want that. task - 4397694
This fixes internal messaging test setup so it no longer assumes WhatsApp-related components are installed. It helps keep automated validation reliable across different Odoo editions, reducing false failures without changing customer-facing behavior.
Original PR description
Removes the implicit dependency on whatsapp. We instead override the method in `test_discuss_full_enterprise` such that the tests passes both with community only and community + enterprise. Runbot Error: - 109621 - 109622 - 111962 - 111963 - 111964 - 111965 Related to: https://github.com/odoo/enterprise/pull/77157
This fix ensures that if creating a database index fails, the system safely recovers before continuing. It helps avoid follow-on errors during internal setup or upgrades, improving reliability without changing user-facing features.
Original PR description
When there is a failure when adding an index, the ORM supposes a rollback is done in `add_index`, so the next SQL statement will fail because the current transaction is aborted. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes how point of sale receipts build their customer-facing portal link. The link now uses the order session’s base website address, helping prevent incorrect receipt URLs for customers.
Original PR description
access the url through `order.session._base_url` rather than the `props`
The archived status banner on employee profiles now appears in front of the employee photo instead of being hidden behind it. This makes archived records clearly visible to HR users and avoids confusion when viewing employee profiles.
Original PR description
if an employee get archived the banner will appear behind the employee picture Issue: the `--Ribbon-z-index: 1` var is removed from web/static because it overlap with something else - move the widget after the div to have a higher z-index Task: 4452394 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The menu loading performance test was adjusted to reflect an expected extra lookup for users with read-only accounting access. This keeps automated checks aligned with the current behavior and helps avoid false build failures.
Original PR description
When user has 'account.group_account_readonly' group, _visible_menu_ids function calls for _xmlid_to_res_id to find hidden_menu_ids. This increases the querycount of the function. We are updating test_visible_menu_ids in accordance to this change. [link to broken builds](https://runbot.odoo.com/odoo/runbot.build.error/109492) Speedscope image when user has 'account.group_account_readonly' group  Speedscope image when user does not have 'account.group_account_readonly' group 
This fix prevents editor buttons from visually overlapping the form status bar when users scroll through long HTML fields. It keeps the page controls easier to read and avoids a confusing display issue in forms.
Original PR description
Description of the issue this PR addresses: Steps to reproduce: 1. Open the To-Do/Project app 2. Focus on HTML field and add some empty lines to make it scrollable. 3. Scroll the view and observe that the power buttons scroll above the status bar. Current behavior before PR: A recent commit [1] made the form view statusbar sticky with a z-index of 1, which conflicts with the editor's local overlay. Desired behavior after PR is merged: The z-index of the statusbar is increased to 2, ensuring the editor's local overlay scrolls beneath the statusbar. [1]: https://github.com/odoo/odoo/commit/a3c63413825cf3492a10ade77a2c571c4eeb33a6 task: 4457597 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes how point of sale receipt links are built by using the sales session's base URL instead of screen properties. It helps ensure customers receive or access the correct online receipt link from point of sale orders.
Original PR description
access the url through `order.session._base_url` rather than the `props`
This update fixes a test issue caused by a user lacking access to CRM lead information. It helps keep automated checks reliable for the Appointment CRM area without changing customer-facing behavior.
Original PR description
Fixing permission access error in the test (user does not have access to crm.lead). task-4380712 odoo/odoo#191351
This change fixes an internal test setup issue by removing an unintended dependency on WhatsApp-related functionality. It helps ensure automated checks pass consistently across different Odoo installation configurations, reducing false failures during release validation.
Original PR description
Removes the implicit dependency on whatsapp. We instead override the method in `test_discuss_full_enterprise` such that the tests passes both with community only and community + enterprise. Runbot Error: - 109621 - 109622 - 111962 - 111963 - 111964 - 111965 Related to: https://github.com/odoo/odoo/pull/193709
This update adjusts automated tests for spreadsheet features in Documents to match a corrected focus behavior. It helps keep quality checks reliable after the underlying spreadsheet interaction fix, with no expected change for everyday users.
Original PR description
The hoot dom helpers rely on a single 'pointerdown' to focus its node which is precisely the behaviour that we act upon in https://github.com/odoo/o-spreadsheet/commit/85aaab61dd3fc4ea2a8c10f9e70b8e7fa650f170
Fixed an issue where opening an analytic budget line from the Budget Report could trigger an error. The report now supports the identifier format used internally, so users can access budget details normally.
Original PR description
Steps to reproduce: 1. Install account_budget 2. Create a new analytic budget 3. Open the Budget Report in list view 4. Click on the analytic budget line 5. A traceback is raised --- Description of the issue this commit addresses: Budget report queries were made with a concatenation system on the id in order, when using "UNION ALL" to make a difference between the lines coming from one table with the same id as lines coming from another table. This causes error because the id is casted to int and contains non int characters. --- Desired behavior after this commit is merged: No traceback is raised. ids with non int characters are accepted. --- Note on the fix: A workaround is applied on the _condition_to_sql method to allow non digit characters in the id column. --- opw-4446007