Thursday, October 10, 2024
23 changes
4 changes
Resolved issues and error corrections
Kitchen receipts in Point of Sale now show the complete product name, even when the name is very long. This helps kitchen staff clearly identify ordered items and reduces the risk of preparation mistakes.
Original PR description
Product with long names where not shown completely on the kitchen receipt Steps to reproduce: ------------------- * Add a kitchen printer to your PoS setup * Create a product with a really long name * Open PoS and complete an order with the product > Observation: The kithen receipt doesn't show the full name opw-4221336 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an internal web testing utility so it cleans up browser event handlers more reliably. It helps prevent test side effects and improves confidence in web interface quality checks without changing user-facing behavior.
Original PR description
This commit ensures that event listeners are removed using their prototype's `removeEventListener` method, as to ensure that any override will not be called during the cleanup. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The survey live session button styling was adjusted so the next or start button remains visible across different background choices. This helps participants navigate live surveys more reliably and reduces confusion during sessions.
Original PR description
Earlier next button in the live session was not visible for some backgrounds. This pr addresses the issue and adds a separate background color for the start button so it can be compatible with any background. Task-4210804
A broken step in the survey guided tour was corrected after a label change caused the tour to point to the wrong place. This helps keep the survey walkthrough reliable for users and reduces confusion during onboarding or testing.
Original PR description
**Before this commit:** - The existing selector fails due to the change in the the text of the `<a>` tag redirecting us to the survey. ref. to where it was changed--- https://github.com/odoo/odoo/pull/131710/files#diff-134fd6929e7c8db7a39038879bf9a01c9f4525ca8db1475974c74576ffd7e3fb --- **After this commit:** - The new selector ensures we get the tour pointer as desired. Task-**4207478**
1 change
Resolved issues and error corrections
This fix ensures the holiday planning Gantt view has its required dependency available during testing and use. It prevents dependency errors caused by delayed loading, making the related planning functionality more reliable.
Original PR description
**Current behavior before PR:** before this PR dependency error encountered during test execution of planning_holidays it is due to lazy loading of gantt renderer and view. **Desired behavior after PR is merged:** hr_gantt is added into depends now the dependency problem is resolved.
17 changes
Resolved issues and error corrections
This fixes internal website test scripts so they continue to work after a recent change removed an older text-matching method. It helps keep automated checks reliable without changing what users see in the product.
Original PR description
This PR replaces the uses of ":text" by ":contains", following the recent changes that removed the ":text" pseudo-class. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
1 change
Resolved issues and error corrections
This update resolves an issue where automated tests in the restaurant point-of-sale module were running three times unnecessarily, wasting testing time and resources. The fix reorganizes the test code structure to eliminate this duplication while maintaining the same test coverage.
Original PR description
Currently since TestFrontend has test methods and is imported/inherited, the same test is executed three times. Fixing it by extracting setup to an utility class
The color picker now displays RGBA color values with proper spacing between the blue and alpha values. This small formatting fix makes color information easier for users to read and understand.
Original PR description
Before this commit, the value of the RGBA in the colorpicker display was missing a spacing after the value for blue. This commit add the spacing after this value to make the text more readable by the user. task-4242209
This fixes an issue where generated dates could be distributed incorrectly when a very large number of values was requested. The change improves the reliability of Odoo's internal data generation tools, reducing the risk of skewed or missing test data.
Original PR description
Before this commit `total_days/factor` could return 0 because PG truncates integer division. Casting total_days to a float and moving the floor's position fixes this issue, providing a correct date spread for `factors > (MAX_DATETIME-MIN_DATETIME).days` --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Point of Sale payment method settings now clear terminal-specific values when a user switches the integration type away from terminal payments. This prevents hidden or outdated terminal fields from blocking users from saving payment method changes.
Original PR description
[FIX] point_of_sale: ensure values are cleared when switching away from terminal payment method Problem: After a terminal provider is selected in "Integrate with" option, if the user change "Integration" option away from 'Terminal', the fields from terminal are still visible and getting validate. This makes record's changes cannot be saved if the fields are empty. Steps to Reproduce: 1. Install Point of Sale app. 2. Go to Configuration > Settings. Enable any "Payment Terminals". 3. Go to Configuration > Payment Methods. Click new or edit a record. 4. Select a journal 5. Select an "Integration" option "Terminal" 6. Select a terminal in "Integrate with" option 7. Switch an "Integration" option to None 8. Observe that the added fields does not disappear and is still getting validate when you save the record. Move from #182548: renaming branch --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Selected avatar tags now appear in bold within the dropdown list, making current choices clearer at a glance. This small visual fix helps users avoid confusion when reviewing or changing tag selections.
Original PR description
opw-4212924
The project burndown chart was adjusted to avoid an incorrect translation call. This reduces the risk of display or localization issues while keeping the chart behavior unchanged for users.
Original PR description
This PR removes a call to _t with a dynamic argument.
Merging accounts now keeps the translated account names from the accounts being combined. This prevents translated names, such as customer-facing labels in different languages, from being lost during account cleanup.
Original PR description
At the moment, when we merge accounts, we don't merge the account name's translations. This is a bit annoying since one account might have been called 'Account Receivable' in English, and another one might have been called 'Clientes' in Spanish. At the moment, the translations of the other accounts are lost. This commit makes us merge the translations when merging the accounts. taskid: 4210775
Repair order status badges now use distinct colors that better match each order state. This makes it easier for users to quickly identify whether a repair is draft, confirmed, under repair, done, or cancelled in list views.
Original PR description
Before: In list view, repair orders state badge is green when the state is 'done'. Otherwise, it is always blue. After: No change for state 'done'. Badge color is more adapted to other states: - blue remain for 'confirmed' - yellow is used for 'under_repair' - white/black is used for 'draft' - red is used for 'cancel' Task 4237694 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update makes an automated website event ticket sales test run more reliably by checking page elements sooner and waiting for them in the right order. It helps reduce false test failures without changing the customer-facing ticket purchase experience.
Original PR description
Decrease checkDelay to 100ms instead of 750ms by default. Add intermediate steps to ensure elements are in DOM before to continue the tour. Modify steps that are not logicals. 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
This update adds country information to HR work entries so country-specific fields and groups display correctly. It helps ensure HR teams see the right payroll or work-entry details based on the employee's country setup.
Original PR description
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
Inventory forecast reports now show formatted help text correctly instead of exposing raw HTML. The Replenishments side panel now starts collapsed, reducing visual clutter and making the screen easier to navigate.
Original PR description
Various v18 bugfixes for MRP before the feature freeze. Current behaviour: 1. HTML help string markup for empty reports don't get parsed in some cases (such as the forecasted inventory report). 2. Replenishments sidepanel is expanded by default. Desired behaviour: 1. HTML help string markup gets parsed for every report view. 2. Replenishments sidepanel is collapsed by default. Task ID: [4154879](https://www.odoo.com/odoo/966/tasks/4154879)
This fixes an issue where spreadsheet pivot tables could show a “see records” option for calculated fields when no underlying record existed. The change prevents users from opening an invalid record view and avoids a traceback, making spreadsheet reports more reliable.
Original PR description
Some methods in the pivot_model didn't handle the `NO_RECORD_AT_THIS_POSITION` constant returned by positional pivot formulas. This lead to a `see_record` visible where it shouldn't be, that caused a tracabeck. Task: [4210956](https://www.odoo.com/web#id=4210956&cids=1&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form) 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
This change makes an automated website slides test wait until the page preview is fully ready before checking fullscreen mode. It reduces intermittent test failures, helping keep releases and updates more stable without changing user-facing behavior.
Original PR description
The tour full_screen_web_editor fails at step ":iframe .o_wslides_fs_main" (check we land on the fullscreen view) from time to time on the runbot. We could reproduce the problem locally by setting a timeout on that step below 1400 ms. As this step (like others) is loaded in the WebsitePreview iframe that set the attribute "is-ready" on the iframe node when some assets are loaded (website.assets_all_wysiwyg), we have added a step before, that wait for that (stepUtils.waitIframeIsReady()). With that change, the tour succeeed even if we set a very low timeout on the failing step. So it should solve the problem. Task-4222573
This fixes an automated test for the Knowledge calendar command so it uses the standard editor tour helper. The change helps keep quality checks stable without changing how users work with Knowledge.
Original PR description
We use tour_helper editor instead of programmatic run().
This fix corrects a naming error that could cause recruitment document extraction to fail unexpectedly. It helps keep candidate processing stable and adds test coverage to prevent the issue from returning.
Original PR description
* traceback due to typo: applicant_id -> candidate_id task-4207776
The mobile app now handles the first-time permission response more cleanly when using native phone features. This prevents unnecessary startup errors, improving reliability for users opening the app or accessing permission-based features.
Original PR description
In the Native Mobile Apps when we use a Native method that requires a permission the promise is rejected on the first call. This commit avoids to generate `unhandledrejection` in this case.
When a new company is created, custom fields named x_company_id now receive the expected default company value. This keeps records aligned with the correct company and avoids manual setup or inconsistent defaults in Studio-created fields.
Original PR description
Create a field x_company_id on a model. Create a new Company. Before this commit, no ir_default was created for that field, studio only did for x_studio_company_id. After this commit, the fields named x_company_id have an ir_default created when a new company is created. task-4226351