Monday, July 14, 2025
9 changes · saas-18.1
Resolved issues and error corrections
This fix removes a default report grouping that caused attendance pivot data to be duplicated when inserted into spreadsheets. Spreadsheet users can now add attendance reports without the previous insertion failure.
Original PR description
The attendance reporting action had search_default_groupby_name in its context, causing duplicated group_by entries in pivot views used in spreadsheets. This breaks spreadsheet insertion. We removed the default groupby to restore compatibility. Related Task: 4897934. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#216013
Fixes an error that appeared when testing a live chat chatbot step that creates and forwards a lead. This helps sales and support teams validate chatbot flows without hitting a system traceback during setup.
Original PR description
When user tests the chatbot with create lead and forward step, A traceback will appear. Steps to reproduce the error: - Install ``website_crm_livechat`` module - Go to Livechat > Configuration >…
When user tests the chatbot with create lead and forward step, A traceback will appear. Steps to reproduce the error: - Install ``website_crm_livechat`` module - Go to Livechat > Configuration > Chatbots > Open Welcome Bot > Add a line > Step Type: Create Lead & Forward > Save & Close - Test > the chat will open > Click on ``I have a pricing question`` > The Bot will ask for an email > Enter a valid email > Send Traceback: ``` KeyError: im_livechat.channel() ``` When user clicks the Test button a discuss channel is created as shown in [1]. In this case, the discuss channel created for the chatbot test script does not have a ``livechat_channel_id``. https://github.com/odoo/odoo/blob/5c7a4716ef1b1c55e1ce8848c11c27c79768d1ec/addons/crm_livechat/models/chatbot_script_step.py#L109-L111 Here, ``livechat_channel_id`` will be an empty record. So, It will raise the above traceback. [1]: https://github.com/odoo/odoo/blob/5c7a4716ef1b1c55e1ce8848c11c27c79768d1ec/addons/website_livechat/controllers/chatbot.py#L52 sentry-6729421960 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
A small wording mistake was corrected in the portal sharing flow, with minor code cleanup to make the logic clearer. This reduces confusion and helps keep the feature easier to maintain without changing how users work.
Original PR description
fix a small typo and and refactor for clarity opw-4938011 Forward-Port-Of: odoo/odoo#218570
The shop page now avoids showing the same category list twice when filters are configured with categories on the side and attributes at the top. This keeps the shopping interface cleaner and reduces confusion for customers using larger screens.
Original PR description
Steps to reproduce: 1. Go to the shop page. 2. Open the editor and configure Categories to display on the left, and Attributes at the top. 3. Save the changes and click the offcanvas toggle button next to the layout buttons. Issue: - The category list appears twice: once on the left side and again in the offcanvas dropdown. This is redundant and affects the user experience. Cause: - The category list in the offcanvas menu isn’t restricted to mobile view, so it also displays on larger screens where it’s already visible in the sidebar. Fix: - Add the 'd-lg-none' class to hide the category list in the offcanvas menu on large devices. opw-4830180 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#218330
Favorite products are now prioritized when the Point of Sale loads a limited product list. This helps cashiers see key products reliably, even when not all products are loaded at once.
Original PR description
- Make sure `is_favorite` products are prioritized to be loaded inside POS when using `pos_limited_loading`. - Added `NULLS LAST` to `ORDER BY is_favorite` to avoid getting `NULLS` records before `TRUE` ones. task-id: 4920408 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an internal test setup issue by giving the test user the needed unit-of-measure permission. It helps keep purchase stock validation reliable without changing day-to-day user behavior.
Original PR description
The `product_uom_id` field was causing test failures in `test_reordering_rule.py` because it was not present in the `product.supplierinfo` form view . This commit adds the group permission `uom.group_uom` to the user who is running the test, to ensure that the `product_uom_id` field is available and preventing the test failure. build_error-111983
This fixes an unstable automated test for mail connection alerts by preventing outside network status changes from interfering with the test. It helps keep validation results consistent and reduces false failures in the release process.
Original PR description
Before this commit, the `show warning when bus connection encounters issues` test was sometime failing. [1] attempted to fix this issue and seems to have greatly reduced its frequence. However, the bus monitoring service still listens to the "offline" event. As a result, the test can still fails according to the runbot network condition. This commit fixes the issue by preventing the "online"/"offline" events during this test. fixes runbot-226443 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#218415
The accounting test setup now initializes required data even when demo data is not installed. This prevents sale flow tests from failing in lean test databases, improving reliability for validation and releases.
Original PR description
Current behavior before PR: Tests for the sale flow fail due to missing variables if there is no demo data. Desired behavior after PR is merged: Tests no longer fail, as data is initialised properly. runbot-227766 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an automated test for Mexican electronic invoicing in point of sale by ignoring a variable invoice identifier that is not relevant to the check. It helps prevent false build failures and keeps validation focused on the expected invoice structure.
Original PR description
Fix the test file for pos order then invoice request to match the expected XML structure, by ignoring the `UUID` attribute in the `TimbreFiscalDigital` element because it is not relevant for the test and can cause issues with the test validation. build_error https://runbot.odoo.com/runbot/build/83409879