Monday, September 30, 2024
46 changes
3 changes
Resolved issues and error corrections
Users can now configure smart buttons that appear under the “More” dropdown when invisible elements are enabled. This fixes a usability issue in form customization so hidden button options can be selected and adjusted as expected.
Original PR description
before this commit: when a user enables the invisible elements and tries to reconfigure the smart buttons which are expanded on clicking 'more' drop-down. It does not work. after this commit: clicking on 'more' drop-down and then after selecting drop-down items should be configure. Enterprise PR:https://github.com/odoo/enterprise/pull/60302 Task-3797105
This update fixes inconsistencies in Odoo’s internal Hoot testing tools and removes warnings now that the toolset is considered stable. It helps Odoo teams maintain more reliable automated tests, reducing the risk of regressions without changing normal business workflows.
Original PR description
## Pull Request HOOT (PRHOOT) - part 24 Part 1: https://github.com/odoo/odoo/pull/152930 Part 2: https://github.com/odoo/odoo/pull/153018 Part 3: https://github.com/odoo/odoo/pull/153023 Part 4:…
## Pull Request HOOT (PRHOOT) - part 24 Part 1: https://github.com/odoo/odoo/pull/152930 Part 2: https://github.com/odoo/odoo/pull/153018 Part 3: https://github.com/odoo/odoo/pull/153023 Part 4: https://github.com/odoo/odoo/pull/153203 Part 5: https://github.com/odoo/odoo/pull/153425 Part 6: https://github.com/odoo/odoo/pull/153700 Part 7: https://github.com/odoo/odoo/pull/154054 Part 8: https://github.com/odoo/odoo/pull/154579 Part 9: https://github.com/odoo/odoo/pull/155073 Part 10: https://github.com/odoo/odoo/pull/155639 Part 11: https://github.com/odoo/odoo/pull/156255 / https://github.com/odoo/enterprise/pull/58135 Part 12: https://github.com/odoo/odoo/pull/156869 Part 13: https://github.com/odoo/odoo/pull/158384 / https://github.com/odoo/enterprise/pull/59019 Part 14: https://github.com/odoo/odoo/pull/158916 Part 15: https://github.com/odoo/odoo/pull/160292 / https://github.com/odoo/enterprise/pull/59971 Part 15.5: https://github.com/odoo/odoo/pull/166463 Part 16: https://github.com/odoo/odoo/pull/166311 Part 17: https://github.com/odoo/odoo/pull/168328 Part 18: https://github.com/odoo/odoo/pull/171004 / https://github.com/odoo/enterprise/pull/65657 Part 19: https://github.com/odoo/odoo/pull/171242 / https://github.com/odoo/enterprise/pull/65767 Part 20: https://github.com/odoo/odoo/pull/173332 / https://github.com/odoo/enterprise/pull/66895 Part 21: https://github.com/odoo/odoo/pull/174337 Part 22: https://github.com/odoo/odoo/pull/176777 / https://github.com/odoo/enterprise/pull/68721 Part 23: https://github.com/odoo/odoo/pull/179660 / https://github.com/odoo/enterprise/pull/69728 This pull requests brings various improvements and fixes to Hoot and the Odoo unit test ecosystem. See the different commit messages for more details. Note: these changes are made in stable to avoid having to support multiple versions of the HOOT API. As such, these changes are intended to be strictly limited to unit tests as to not put the rest of the code base at risk. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes a small Point of Sale issue where a cash details popup could receive empty money details in a way the system did not formally allow. Aligning the popup definition with real usage helps prevent unnecessary errors and keeps cash-related workflows stable.
Original PR description
Backport of 0a60ea114f690b18d7ef8d06e5f659d0122f1ea6 In the prop definition of `MoneyDetailsPopup` it is specified that the `moneyDetails` prop either not be passed or be an object. There are instances where the prop is passed with value `null`. We adapt the definition to reflect this reality. --- 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 fixes an issue that could cause Chilean point-of-sale receipts to fail when the restaurant POS module was not installed. The change makes the receipt customization work reliably for standard POS setups as well.
Original PR description
XPath was wrongly set, l10n_cl_edi_pos was trying to xpath a node only present in pos_restaurant module, if that one wasn't installed it would crash.
40 changes
Resolved issues and error corrections
The website editor's snippets modal has been adjusted so it appears correctly for right-to-left languages. This improves usability for teams working in languages such as Arabic or Hebrew when building or editing website pages.
Original PR description
This commit adapts CSS code to correctly display the snippets modal for RTL languages. The snippets modal was introduced in this commit [1]. [1]: https://github.com/odoo/odoo/commit/edf81c13d8f2f6d29a77d68cbfa0dc9216da3c2a task-4072655
2 changes
Resolved issues and error corrections
A test tour for adding documents to dashboard groups was not running because the Python test method was missing the required 'test_' prefix. The tour has been fixed to work with the new functionality that allows creating dashboards from new spreadsheets. This ensures the feature is properly tested.
Original PR description
The tour `spreadsheet_dashboard_document_add_document_to_dashboard_group` was never actually run because the python method wasn't prefixed by `test_`. The toru was also broken since we allowed to create a dashboard based on a new spreadsheet. Task: [4199036](https://www.odoo.com/web#id=4199036&cids=1&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form)
The POS HR dashboard now checks point-of-sale activity instead of sales orders when deciding whether to show sample data. This prevents the dashboard from making the wrong decision based on unrelated sales information, improving accuracy for businesses using POS with HR data.
Original PR description
We recently added some model dependencies to determine if a dashboard should display its sample data if the database did not have enough information worth showing. The pos_hr dashboard was depending on sale orders by mistake. It's supposed to depend on `pos.order` and to a certain extent `report.pos.order`. Task-4220370 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
Fixes minor display issues in kanban cards where long titles or translated badge labels could cause amounts and footer details to overlap or appear misaligned. This improves readability and consistency for users working with expenses, sales orders, purchase orders, and POS orders.
Original PR description
This commit fixes small UI issues in expense, pos, purchase and sale kanban views, introduced by the conversion to the API [1][2][3][4]. They had similar issues. The amount displayed on the right of the title row sometimes overflowed, when the title was too long. And the left part of the footer was weirdly displayed when the label of the badge displayed next to it was too long (which might easily happen with translations). [1] https://github.com/odoo/odoo/pull/171214 [2] https://github.com/odoo/odoo/pull/173466 [3] https://github.com/odoo/odoo/pull/174308 [4] https://github.com/odoo/odoo/pull/174134 Task~4215979 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 corrects visual layout issues in kanban cards after the recent kanban view update. Project, task, and timesheet cards should now display more consistently, improving readability for users managing work and time entries.
Original PR description
Task 4215979
This update restores the correct layout for the e-learning Courses kanban view after a recent technical change. It helps users browse and manage course cards with the expected visual structure, including when sales-related course features are installed.
Original PR description
This commit fixes the layout of the Courses (e-learning) kanban view, following the conversion to the new kanban API [1] [1] https://github.com/odoo/odoo/pull/180256 Task~4215979 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 website editor toolbar now shows the correct name for each selected font style, including Header 1. This prevents confusion when users format content and helps ensure the chosen style is clearly reflected in the dropdown.
Original PR description
Before this commit: Selecting header 1 in the font dropdown will show header 1 display 1 which is wrong. They are 2 different fonts. After this commit: Now every selected font show its corresponding name. Added a test to check the flow for all possible fonts. 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
Spreadsheet list views now keep boolean values as true or false instead of turning them into text. This prevents formulas and evaluations from misreading checkbox-style data, improving accuracy in spreadsheet-based reporting.
Original PR description
The method returning a list field value based on its type did not properly handle the boolean fields. It would return the string "TRUE" and "FALSE" which are interpreted as strings by the evaluation process. task-4182574 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 fix makes table column changes in the HTML editor properly recorded in the editing history. Users can now undo or redo adding, moving, or deleting table columns, reducing frustration and accidental content loss.
Original PR description
Before this commit, adding / moving / deleting a table column does not add a step. It is therefore not possible to undo/redo. 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 fixes an automated website shop test so it more accurately confirms product variant selections inside a modal window. It helps reduce false test failures and supports smoother quality checks for the online checkout experience.
Original PR description
In this commit, we remove unuseful click action, we use check action instead of click (to ensure the input is checked after clicking on it) and we precise some step trigger by adding .modal to check the element is well in a modal before proceed to checkout (in the tour). 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
eCommerce category images uploaded in the backend are now automatically converted to WebP. This helps reduce image file sizes and can improve storefront loading performance without changing the user's workflow.
Original PR description
A new option to convert images to webp was added in 1a978183001e0503104285f4bd5bed983beb0efb. This commit adds this option to eCommerce categories' form view image field so categories images uploaded from the backend benefit from webp improvements too.
This fixes leftover view definitions so repair manufacturing and website collection settings use the current list format consistently. It helps prevent configuration or display issues caused by older view naming during upgrades or use of these screens.
Original PR description
before this commit, few tree tags are left over without changing into list tag in this commit: https://github.com/odoo/odoo/commit/4ca79b1549eec988a31b80aa0e9f03e6420e84df#diff-e8da39382dbb141dfbfcec84a5a4365734015a25cd3ed94004f7eb7daa7e7ab0R12 after this commit, all tree tag will be converted into list tag Related EE: https://github.com/odoo/enterprise/pull/71002 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The editor now recognizes inserted media, such as document icons, as real content instead of treating the paragraph as empty. This prevents placeholder hints like “Type here” or command prompts from appearing on top of media, improving the editing experience.
Original PR description
Steps: 1. In an empty editable, insert a document with /image -> Documents 2. Move the cursor to before or after the document icon. -> The 'Type "/" for commands' hint is displayed over the icon. 3. Now click outside the editable. -> The "Type here" hint is displayed over the icon. Both hints display are undesirable, as the content of the first (and only) paragraph is not empty. This commit makes sure media elements are considered as visible content when checking if a block is empty.
This fixes a small usability issue in the HTML editor where hovering over the disabled remove formatting button did not show its explanatory tooltip. Users now get clearer feedback about the unavailable action, while the button still looks and behaves disabled.
Original PR description
Issue: ====== hover over remove format button when disabled doesn't show tooltip. Origin of the issue: ==================== Since the disabled button will have the class .disabled which will add `pointer-events:none` to the button so when hovering nothing happens. Solution: ========= - Add `pointer-events:auto` to show the tooltip on hover. - Add `cursor:auto` to show the usual cursor and not the pointer when hover. - Style the `.disabled:active` button the same as the `.disabled` so that clicking on the button doesn't change the style which gives the impressions that something happened.
This fix stops users from dragging selected table cells out of a table in the HTML editor, which previously could cause an error. It improves editing stability by preventing an unsupported action that led to a crash.
Original PR description
Before this commit: in a table, select last two cells of first row and drag drop it to a p element out of the table, a traceback is raised After this commit: the dragging on the table cells is disabled --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix makes a banner editor test run consistently by ensuring needed resources are loaded before the test action continues. It reduces random test failures, helping keep development and release checks more dependable without changing customer-facing behavior.
Original PR description
This commits fix an indeterministic test error. The indeterministic error was made by a getBundle triggered by a click, the solution is get the bundle ourself and await it.
This fixes an issue where website test helpers could fail when used outside a full HTTP test environment. The change makes tests fall back to the configured web port when no running server is available, improving reliability for internal testing without affecting normal users.
Original PR description
`MockRequest` calls `HttpCase.base_url()` even though it can be used outside of http cases. odoo/odoo#180461 made consistency a requirement as it retrieves the actually bound port from a running server. Make `http_port()` return `None` if no server is running (rather than error), and have `MockRequest` fallback on ~the old behaviour (of just retrieving the http_port from the config) in that case. Technically we could probably hardcode `8069` to limit e.g. issues when running with `http_port=0`, but odds are none of that is really relevant.
Duplicating embedded actions now avoids saving two conflicting action targets at the same time. This prevents errors for users when copying embedded actions that use a predefined Python method.
Original PR description
Before this commit, when the user tries to duplicate a embedded action containing the field `python_method` set, the `action_id` should not given otherwise an error will be raised because the `check_only_one_action_defined` constraint will not be respected because we will have 2 actions to call for a same embedded action. This commit makes sure the `action_id` field is not set if `python_method` is given. task-4191101
When staff book a restaurant table and return to the floor plan, the table now correctly appears as occupied. This helps avoid seating confusion and gives staff an accurate view of table availability.
Original PR description
Before this commit: === - After booking a table and returning to the floor plan, the table was not marked as full. After this commit: === - After booking a table and returning to the floor plan, the table is now correctly marked as full. Task-4210770
Deleting some Point of Sale demo orders could fail because related order lines and payments were missing default identifiers. This fix adds default UUID values so demo POS records can be removed cleanly, improving reliability for testing and demonstrations.
Original PR description
In this commit: ================= Fix traceback when deleting demo records in POS. When deleting some demo orders in the POS, a traceback was raised because the lines of the orders did not had an order linked to it. This was because they did not have an uuid. We now have default uuid values for orders, order lines and pos payments. Task: 4212901 Related: https://github.com/odoo/enterprise/pull/70925
Duplicating a bill no longer carries over payments matched to the original bill. This prevents the same payment from appearing linked to both the original and copied bill, reducing accounting confusion.
Original PR description
The matched_payment_ids field value is being copied when duplicating a bill. This causes the payment from the original bill to get linked to the new bill as well, which is unexpected. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an issue in the HTML editor where creating a table in an empty column could show repeated column hints in every table cell. The hint now appears only in the intended first paragraph, making the editing experience cleaner and less confusing.
Original PR description
Before this commit: creating a table in an empty column, all the table cells have the column hint After this commit: only the first p node under the col div has the column hint --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The replenishment view now keeps the horizon value selected by the user when they leave and return to the view. This prevents repeated manual re-entry and makes stock planning workflows more consistent.
Original PR description
To reproduce: - Open replenishment view - Change horizon value in the panel to 5 - Open any other view and reopen replenishment view Current behavior: Horizon is reset back to 0. Expected behavior: Horizon will remember the last value (5 in this example). --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Several website building blocks now use the correct grid settings, so their layouts display more consistently across screen sizes. This helps pages built with these snippets look as intended and reduces manual layout adjustments for website editors.
Website building blocks with multiple buttons now display with proper spacing on smaller screens. This prevents buttons from appearing cramped or misaligned, improving the mobile presentation of affected website sections.
Original PR description
This commit introduces a fix for the snippets that include at least two buttons in their layout. Prior to this commit, the buttons were simply defined within the `<p>` tag, due to a lack of testing corner case scenarios. This implementation was actually wrong, because as soon as you add `n+1` button within the editor, it'll apply a `mb-2` on each button to space them correctly on smaller devices. To fix this issue, we simply replicate the behaviour of the editor by adding the class on the snippets that match this scenario. task-4210852 part of task-4077427 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix adjusts several website building blocks so their grid layouts use the right row, column, and spacing settings. It helps pages built from these snippets display more consistently and avoids layout issues for website editors and visitors.
Original PR description
This commit fixes several issues related toin grid options:
- `s_cta_mockups`: wrong column count
- `s_image_punchy`: wrong row count and column count
- `s_numbers_grid`: `g-col-md-3` was used instead of `g-col-lg-3`
- `s_sidegrid`: distinct sizes were used for `g-col-lg` and `col-lg`
padding classes were used
task-4213996This update ensures copied databases with the Monster recruitment integration are neutralized so they do not contact external systems or affect live customer data. It helps support teams investigate issues on database duplicates safely without risking unintended changes in production-related services.
Original PR description
This commit adds the missing neutralization necessary for the hr_recruitment_integration_monster module introduced in [1] The purpose of the standard neutralization framework is to allow us to create database copies that will not interact with external systems in ways that could impact the production database (or if it is not possible to prevent the interactions, make sure that they are benign or won't result in actual changes), or impact the customers of the operator of the production database. This is mainly useful to allow safe support investigation on database duplicates. [1] https://github.com/odoo/enterprise/pull/70213
This fix updates the Knowledge migration so embedded file links keep their access information after a field name change. It helps ensure existing Knowledge articles with embedded files continue to work correctly after upgrading.
Original PR description
Purpose: -------- In commit [1], the field holding the access token inside the file model has been renamed from accessToken to access_token. This commit adds the renaming of the related accessToken prop of the embedded file component during the migration of the file behavior. [1]: https://github.com/odoo/odoo/commit/448c9791dd1980d1aa3c244a9f85828424c7e10b Task-4221554
This change adds test coverage for inter-company purchase and sales flows where goods are delivered before the related purchase order is confirmed. It helps ensure reservations work correctly through inter-company transit locations, reducing the risk of stock flow errors between companies.
Original PR description
In the community-side, we allow the reservation on all transit locations (i.e. Inter-Company transit as well). Adds a test where an interco PO is generated in draft then confirmed after the delivery was done in the other company, as it can now reserve on the already delivered quantities. Task-4207078
Attachments added to Knowledge comments now display at the proper size without awkward scrollbars or cramped layouts. This keeps comment threads easier to read while avoiding broader styling changes that affected the comment appearance.
Original PR description
This commit aims at fixing an issue with message containing attachments. Those attachments can be displayed too small resulting in scrollbars and weird displays. In e8df9ed4a92e we tried to fix this by using the environment variable inChatWindow, but this changed the styling of comments drastically. So in this commit we remove this option and directly apply the correct style to the attachment cards. task-4221276
The payroll test suite now uses a fixed date instead of a date based on the current day. This prevents occasional test failures caused by changing calendar dates, helping keep payroll quality checks stable.
Original PR description
Before this commit, the test `test_ytd_02_reset_date` was using a date relative to today's date; however this can bring errors. This commit sets a fixed date for the test in order to avoid that.
The purchase manufacturing work order quality module can now be installed with demo data without hitting an employee-link error. This prevents setup interruptions caused by the system installation user not being tied to an employee record.
Original PR description
Installing this module with demo data gives an error "You need to link this user to an employee of this company to process the work order" As the installation user is "__system__" there is no linked employee.
This update keeps Uruguay electronic invoicing screens compatible with the latest Odoo view naming rules. It prevents affected list-style pages from failing to load after the platform stopped accepting the older view name.
Original PR description
Since odoo/odoo#159909 we no longer accept `tree` as a synonym for `list` views.
This fixes layout issues in Kanban views used for field service, projects, helpdesk timesheets, and timesheet grids. Users should see cleaner, more consistent task and timesheet cards, making daily work easier to scan and manage.
Original PR description
Task~4215979
This fixes payroll contract setup so worker compensation is only required when the contract is with a US company. It prevents unnecessary validation blockers for non-US companies and reduces confusion during HR contract management.
Original PR description
The worker compensation could be required even though the contract is not with a US company.
Minor visual issues in the Helpdesk team dashboard have been corrected after a recent interface update. This helps teams view their dashboard cards and information more consistently without changing business workflows.
Original PR description
This commit fixes small UI issues introduced by the conversion of kanban archs to the new API [1], in the helpdesk team dashboards. [1] https://github.com/odoo/enterprise/pull/70127 Task~4215979
This fix completes a technical naming update by replacing remaining outdated view tags with the current list format. It helps keep these modules aligned with the latest Odoo standards and reduces the risk of display or compatibility issues.
Original PR description
*documents_account, documents_hr_recruitment, l10_in_hr_payroll,l10n_uy_edi before this commit, few tree tags are left over without changing into list tag in this commit: 4ca79b1#diff-e8da39382dbb141dfbfcec84a5a4365734015a25cd3ed94004f7eb7daa7e7ab0R12 after this commit, all tree tag will be converted 'into list tag
The loan management test has been updated to use fixed dates, preventing failures caused by the date when the test is run. This helps keep automated checks stable and reduces false alarms during development.
Original PR description
`test_loan_import_amortization_schedule` was failing because of a missing `freeze_time` which has now been added along with hard-coded dates instead of relative dates which are more prone to errors. runbot errors: 100079 100342
The automated test for preparation displays has been corrected so it reflects a real point-of-sale order flow. This helps prevent false confidence in testing and improves reliability for restaurant and preparation display workflows.
Original PR description
This commit fix a test that was not testing a real flow due to a lack of uuid on the order lines. It is now re-written. Community PR: https://github.com/odoo/odoo/pull/180731
The update rewrites preparation display tests so they better reflect real point-of-sale order flows. This helps prevent false confidence from tests that previously missed important order line details, reducing the risk of future issues reaching restaurant workflows.
Original PR description
This commit fix a test that was not testing a real flow due to a lack of uuid on the order lines. It is now re-written. Related: https://github.com/odoo/odoo/pull/181858
Opening unpinned document folders now keeps them under the Company section, so users see expected navigation and management options. This restores items like breadcrumbs and the settings menu, making folder browsing more consistent and easier to use.
Original PR description
When you double-click on an unpinned folder, like "Support", to inspect its content, you notice the absence of some important tools in the UI: the cogwheel menu, a proper breadcrumb... Parenting the unpinned folders to the "Company" section solves the issues. task-4216195
This update fixes a visual formatting problem in the Sign module where placeholder text was overlapping with navigation controls when fields were left-aligned in templates. The issue was caused by excessive padding removal that was added in a previous update. This fix restores proper spacing while maintaining the intended visual consistency across the application.
Original PR description
Steps to reproduce: - Sign > Edit any template > Add a field - Click your field > Select left alignment > Validate The placeholder text overlaps with the arrow block, in 16.0 this does not occur. The culprit is the ps-0 class added to signItem which removes all padding from the block. The formatting was changed in f1b35ae9030ff82afc498bfbd6315414407bb4e1 to make it consistent between the other views (The shift is kept even the move icon is not visible) but the alignment feels consistent even without this class. opw-4159676