Wednesday, February 21, 2024
14 changes · master
Enhancements to existing features
The calendar deletion warning shown when Odoo is synced with Google Calendar now uses the standard wording. This makes the experience more consistent and clearer for users deleting calendar events.
Original PR description
Before this commit: When Odoo is synchronized with Google Calendar, if we attempt to delete an event, the modal warning modal is not the standard one. This commit updates the dialogue message to match the standard one. Task: 3731568
Point of sale receipts have been tightened up to reduce unnecessary blank space and make them easier to read. This improves the customer-facing receipt layout without changing checkout functionality.
Original PR description
small changes in the frontend for the task because there was too many empty spaces and it was too long to read: TASK-ID: 3709173 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update modernizes internal tests for a key web interface component that helps users select fields in filters and search tools. It does not change visible functionality, but it helps the team maintain quality and catch regressions more reliably.
Original PR description
task-id: 3705027
This update adds an automated check to ensure restaurant staff can merge tables while editing the point-of-sale floor plan. It helps protect a key restaurant workflow from future regressions, improving reliability without changing the user experience.
Original PR description
Tour steps: implement the test for mergin table in PoS on edit mode merge the table in edit mode with link button check that table are merge tasks id : 3748795
The Indian localization now includes partner industry options for e-commerce operators that are liable to deduct TCS under section 52 or pay GST under section 9(5). This helps businesses classify partners more accurately for Indian tax compliance workflows.
Original PR description
This commits adds two new Partner Industry data for l10n_in module where user can select partner tax slab on Partner Industry The following data can be selected: - ECO liable to deduct TCS u/s 52 - ECO liable to pay GST u/s 9(5) task-3672448 Related PR - https://github.com/odoo/enterprise/pull/56054 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Point of Sale test tours now run with stronger validation, helping catch configuration and component issues earlier during development. The change also reduces duplicated setup code, making future POS testing easier to maintain without changing day-to-day user workflows.
Original PR description
In this commit we remove the startOwl function from pos and replace it's uses with the mountComponent from web. This has the advantage that we repeat code less. In addition, the `mountComponent` function also makes it such that the prop declarations of the components are checked during tours. This provides great benefits in terms of type checking. In order to be able to make this change, all the prop declarations that were wrong had to be corrected. In addition, we also implement a generic mechanism for starting pos tours. This allows for less code repetition. Task 3756376 https://github.com/odoo/enterprise/pull/55609 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update adds automated test coverage for duplicate restaurant floor handling in the Point of Sale restaurant flow. It helps ensure the system behaves consistently and reduces the risk of regressions for restaurants managing floor plans.
Original PR description
Tour steps : implement the test for duplicate floor tasks id : 3674927 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
The web module now watches embedded page content more efficiently during automated guided tours and checks. This reduces missed elements and timing-related failures, making internal testing and page interactions more reliable without changing the user-facing workflow.
Original PR description
:: What was changed ? :: There's only one MutationObserver now. At the initialization of the macro, the MutationObserver observer on target and on iframes (if it exist at DOM initialization). Then,…
:: What was changed ? :: There's only one MutationObserver now. At the initialization of the macro, the MutationObserver observer on target and on iframes (if it exist at DOM initialization). Then, for each observed mutation, we check whether one or more iframes have not been added to the nodes (or their children). If this is the case, we then observe their contentDocument. These modifications make it possible to avoid observing each time on the same iframe (which was the case before). Two corrections are added to this commit : Before, when the iframe content was already loaded, the contentDocument was not observed. (Which posed a problem for e.g. project_sharing_tour). Before, when the iframe content was observed, it triggers not directly this.delayedCheck(). (Which posed a problem for e.g. test_stock_route_diagram_report). :: Why these changes ? :: In order to use Hoot querySelector instead of jQuery querySelector in tour compiler, we have changed the mechanism of iframe observer. We noticed that to bypass the changes explained above, it was enough to force a few milliseconds before searching for the element (trigger). jQuery is slower than javascript's native selector. This may therefore coincide with the observation. task~3600484
The web module's tests for domain selection dialogs were moved to a newer testing framework. This helps maintain reliability for an important interface component without changing day-to-day user functionality.
Original PR description
task-id: 3705027
Spreadsheet test helpers now wait for data to load without scanning every spreadsheet cell. This internal improvement makes the test suite run much faster, reducing spreadsheet test time by around 40% on average while preserving product behavior.
Original PR description
Before this commit, the test helper function used to ensure that all the cells are loaded (`waitForDataSourcesLoaded`) was reading all the cells of the spreadsheet. This is not necessary anymore since the cells evaluation is no longer lazy. In addition, the function did it three times to cover the worst case scenario: - Load list data source - This list contains a monetary field -> ask for the currency - This currency is not yet loaded -> ask for the currency Since 96669c74f86cec60ce979fb59da265b1491c2edb, a new helper function `waitForDataLoaded` has been introduced to do the same thing but without reading all the cells. This commit replaces the old function by the new one. It allows to reduce the time of the tests by 40% on average. 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
The mail and live chat features now handle server dates more consistently by automatically converting them into a safer date format for the app. This reduces the chance of date-related display or processing issues and helps keep messaging behavior reliable.
Original PR description
This PR introduces a typing mechanic to the record class. It allows for automatically convert dates from the server to Luxon object.
This update corrects internal type information used by developers in the Mail module. It helps reduce development errors and improves code maintainability without changing the user experience.
This update improves the reliability of automated checks for the Documents Spreadsheet side panel. It ensures the panel is fully loaded before tests run, reducing false failures and helping maintain product quality.
Original PR description
This commit is the counterpart of https://github.com/odoo/odoo/pull/154837. This commit adds a nextTick to ensure that the side panel is correctly rendered.
Point of Sale test tours now start through a shared mechanism that reduces duplicated code and checks component setup more thoroughly. This helps catch configuration issues earlier during testing, improving reliability without changing day-to-day user workflows.
Original PR description
In this commit we remove the startOwl function from pos and replace it's uses with the mountComponent from web. This has the advantage that we repeat code less. In addition, the `mountComponent` function also makes it such that the prop declarations of the components are checked during tours. This provides great benefits in terms of type checking. In order to be able to make this change, all the prop declarations that were wrong had to be corrected. In addition, we also implement a generic mechanism for starting pos tours. This allows for less code repetition. Task 3756376 https://github.com/odoo/odoo/pull/152243