Wednesday, May 8, 2024
10 changes · 17.0
Enhancements to existing features
This update removes redundant test settings because the system now applies the password-reset restriction automatically during tests. It also corrects how test context is handled in several areas, helping keep automated checks reliable without changing customer-facing behavior.
Original PR description
See community counterpart, it's already set now in test mode by default.
Resolved issues and error corrections
This fix prevents the CodaBox module from overwriting an accounting firm that is already assigned to a Belgian company during demo installation. Now the system checks if an accounting firm is already set before making any changes, preserving existing configurations.
Original PR description
Previous to this commit, in demo, when installing CodaBox, if a Belgian company already had an accounting firm set, it was overriden by a new one. This commit fixes this by checking if the Belgian company already has an accounting firm set. If so, we do not modify it. task-id: none
This fix resolves a display issue where document names were being truncated with "..." when locked in the kanban view. The problem was caused by duplicate text-overflow styling being applied to the document name field. By removing the redundant CSS class, document names now display correctly without unwanted truncation.
Original PR description
Issue ----- The document name is replaced by `...` on the kanban card when the name is too long and locking the document. Steps to reproduce ------------------ - Install `documents` module - Click on any document card to open the right sidebar - Change the document name to a very long one (Should display `...` at the end of name on the card) - Click on the lock icon in the sidebar to lock the document Cause ----- There is a `o_text_overflow` CSS class on the field that use `text-overflow` while a parent also use it(`o_kanban_record_title`). Note: No issue before v16.0 because it seems that the renderer get ride of any extra class on a text field in the kanban view. Solution -------- Remove the extra `o_text_overflow` CSS class from the field. opw-3829011 Forward-Port-Of: odoo/enterprise#62025 Forward-Port-Of: odoo/enterprise#60052
This update fixes a visual issue in the course quiz creation feature where the Save and Cancel buttons were displayed too close together. A small margin has been added between the buttons to improve the user interface and make the buttons easier to click.
Original PR description
Steps to reproduce 1. Go to course. 2. Add a content 3. Select quiz content then Add a question, Issue: There was no space between the Save and Cancel buttons. fix: Add the margin-left on the button. Task:3848282
This fix ensures that the UAE-specific VAT amount field is only displayed when users are working with United Arab Emirates companies. Previously, the field was incorrectly visible for users in other countries (such as Belgium) when the UAE localization module was installed. This prevents confusion and ensures the interface shows only relevant fields for each company's location.
Original PR description
The field l10n_ae_vat_amount is not hide if the user is connected with a company in another country. For exemple, if you are connected with a BE company with the l10n_ae module installed, the field was visible. Now the field is only visible for the AE companies. task-3877935
This update removes unnecessary country code prefixes from Uruguay state identifiers. Since these state codes only appear when Uruguay is selected as the country, the "UY-" prefix is redundant and has been removed to simplify the data and improve user experience.
Original PR description
Description of the issue/feature this PR addresses: It is not necessary to put the UY- at the beginning because they only appear if the country is Uruguay Task: 88 Task in adhoc: 6022 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 how the Chilean localization module handles partner identification types in the system. The fix ensures the identification type field properly accepts the correct data format (integers or lists of integers), improving data consistency and preventing potential errors when managing partner information in Chile-based operations.
Original PR description
Browse method receives an int or iterable(int) or None as argument type Ticket Adhoc side: 73975 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
A test for product pricing was failing because a required feature wasn't enabled during testing. This fix activates the necessary pricing feature in the test setup so the test can run successfully. This ensures the product pricing functionality works correctly.
Original PR description
Many single runbot builds fail due to the test_pricelists_res_partner_form test introduced by https://github.com/odoo/odoo/pull/163768:
```
FAIL: TestPricelist.test_pricelists_res_partner_form
Traceback (most recent call last):
File "/data/build/odoo/addons/product/tests/test_pricelist.py", line 168, in test_pricelists_res_partner_form
self.assertEqual(partner_form.property_product_pricelist, default_pricelist)
File "/data/build/odoo/odoo/tests/form.py", line 307, in __getattr__
return self[field_name]
File "/data/build/odoo/odoo/tests/form.py", line 312, in __getitem__
assert field_info is not None, f"{field_name!r} was not found in the view"
AssertionError: 'property_product_pricelist' was not found in the view
```
This happens because `group_product_pricelist` is not activated during the test, and then the form doesn't contain 'property_product_pricelist' field.
Activate the feature in the setUpClass to fix this issue.This fix resolves a visual glitch that appeared when navigating to apps on small screens in the home menu. The issue was caused by conflicting animation settings between two modules that used the same animation name. By renaming the animation to be unique, the app now displays smoothly when clicked on mobile devices.
Original PR description
Since commit[1], we have added an animation on the `DraggableHook`. However, we have used the same CSS `keyframes` name (`bounce`) as another one added[2] before by `hr_referral` module (enterprise). CSS `keyframes` can't be scoped [3] as they don't follow the cascade. So when `hr_referral` is installed the `keyframes` is override and produce some weird animation when the `DraggableHook` is used. Steps to reproduce: * Go to the HomeMenu (enterprise) on small screen * Click on a App => Bug a weird animation appear before the "navigation" to the App task-3918268 [1]: odoo/odoo@4c5cf0962f91d05085fea75e9c26ecdca9c0eb13 [2]: odoo/enterprise@08c19c4cbd1af70859cbdb49bb535927b1cbf76d [3]: https://developer.mozilla.org/en-US/docs/Web/CSS/@keyframes#resolving_duplicates --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixed the emoji picker to properly center error messages when emoji loading fails. Previously, when emojis failed to load, the error screen appeared misaligned. Now it displays centered for a better user experience.
Original PR description
When emoji picker has no emojis, this means the loading of emojis failed. In that case, the screen should have its content centered. Task-3916943 Before/After <img width="303" alt="before" src="https://github.com/odoo/odoo/assets/6569390/5fb2709e-34c5-4027-ab68-cc47d97fc15b"> <img width="300" alt="after" src="https://github.com/odoo/odoo/assets/6569390/8065f4af-0200-4614-b492-63e3fa881b9d">