Daily updates from Odoo
Thursday, December 12, 2024
26 changes
1 change
Resolved issues and error corrections
A web interface test was adjusted to match a recent change in keyboard shortcut behavior. This helps keep automated checks reliable without changing the product experience for users.
Original PR description
fix test broken by: https://github.com/odoo/odoo/pull/189163/commits/be23ed0ef17d0e5522c2cadc6267799f0a690fdb --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
7 changes
Resolved issues and error corrections
This fix ensures placeholder text remains visible when users drag and drop fields such as name or email onto a document in the Sign app. It improves document setup by making field placement clearer and reducing confusion during signing template preparation.
Original PR description
Version: - Master Steps to reproduce: 1. Install the Sign module. 2. Upload a document. 3. Drag and drop the Name, email, etc field. Issue: - The placeholder is not visible when the field is dragged and dropped. Cause: - The placeholder alignment is incorrect. Solution: - Adjusted the margin height of placeholder to align it correctly. task-4347387
The Point of Sale pricer module now stores sample pricing data in the demo area instead of loading it as regular data. This prevents demo-only content from being included where it should not be, keeping production setups cleaner.
Original PR description
In the PR #66351 the demo data was unintentionally merged in the 'data' folder. This PR moves it to the correct 'demo' folder Related Upgrade PR: https://github.com/odoo/upgrade/pull/6831
This fixes an issue in the Indian QR code bill scanning feature where an outdated action reference could trigger warnings or unnecessary processing. The change helps ensure bill scanning behaves more smoothly and keeps translation files up to date.
Original PR description
In commit https://github.com/odoo/enterprise/commit/c60bf8eae152e25003cdeeeafc3b2f267fa483c3, `_l10n_in_get_notification_action` was removed, accidently it's all the references were not changed and an uneccesarry pre-call to `bill_action` was added In this commit we remove the pre-called action and fix the warning
This fixes an issue in the FedEx delivery integration where location request messages could fail because they tried to use translation handling that was not available in that request context. The change restores the previous behavior, helping FedEx pickup location lookups work reliably for online shoppers.
Original PR description
DUring the request to fexed, FEDEXLocationsRequest is not a model, so it does not have an environment. Revert to old code.
Demo data for the point-of-sale pricing feature is now stored in the proper demo area instead of being loaded as regular data. This prevents sample records from being installed where they should not appear, keeping production setups cleaner.
Original PR description
In the PR #66351 the demo data was unintentionally merged in the 'data' folder. This PR moves it to the correct 'demo' folder Associated Upgrade PR: https://github.com/odoo/upgrade/pull/6831
The Partner Ledger now clears the customer filter after users leave a customer statement and later reopen the report from the main accounting area. This prevents old customer selections from carrying over unintentionally, helping users see the expected full report without manually clearing filters.
Original PR description
This commit changes the way filters are loaded on the partner ledger report, particularly when clicking on the Customer Statement smart button from the customer view. **Before this commit:** When opening the report from the customer view, the partner filter was set to the selected customer, which is the desired behavior. However, after leaving the report and reloading it from the main accounting view, the partner filter remained applied, which was not intended. **After this commit:** Once you leave the report and reload it from the main view, the partner filter is reset. task-4274283
The Belgian SODA feature now depends on the full Accounting app instead of only Invoicing. This prevents access errors when users edit bank transactions or configure SODA, because the required accounting permissions are available.
Original PR description
Steps to reproduce: - Install account_accountant & l10n_be - l10n_be_soda is auto installed - Modify a bank transaction OR - Try to configure SODA from settings Access Error: The write method on account.move.line, and the SODA import wizard require `group_account_user` access. But this group is only activated with accounting. This module currently depends on Invoicing (account_accountant) but it should depend on Accounting (accountant). Furthermore, It doesn't make sense to import journal entries if accounting is not available. Issue reported by AVW
11 changes
Resolved issues and error corrections
The Send & Print screen now correctly shows the Romanian EDI checkbox when it should be available. This fixes a regression from an earlier refactor, helping Romanian invoicing users access the expected electronic invoicing option.
Original PR description
… on Send & Print During the previous refactor [1], we broke the display of the checkbox of the Romanian EDI. [1]: https://github.com/odoo/odoo/commit/9e769e1b11f22890e5245859053bc8dd31e42634 task-4403772
The configuration document preview now appears below the form on mobile screens, so users no longer need to scroll sideways to see it. Input spacing was also corrected to keep fields comfortably aligned and readable on smaller devices.
Original PR description
Before this commit, the preview was on the rigth and you had to scroll to see the preview of the document. Now, the preview is below on mobile. Task-4377734 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Point of Sale now shows order changes correctly in cases affected by decimal rounding. This helps cashiers and staff see accurate change information during checkout, reducing confusion and potential transaction mistakes.
Original PR description
Before this commit, rounding was passed to the floatIsZero function, while the decimal places should have been passed. This caused the changes to not be displayed correctly in some cases. opw-4393181 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix corrects how global lead days are handled in subcontracting and stock purchase flows. It helps ensure planned dates and related tests match expected business timing, reducing scheduling errors in manufacturing and purchasing.
Original PR description
Contains style/semantic corrections for commit: 23c39ea opw-4370201
Fixed the display of subchannel hierarchy markers in the Discuss sidebar for right-to-left languages. This improves readability and visual consistency for users working in languages such as Arabic or Hebrew.
Original PR description
The SVG used for the subchannel hierarchy marker was positioned using inline styles. However, `rtlcss` does not process inline CSS rules. This commit moves the positioning rules to SCSS files to ensure proper handling of RTL layouts. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
A demo invoice for Export/SEZ transactions now uses the correct Export/SEZ tax instead of an inter-state tax. This improves the accuracy of Indian localization sample data and helps users see the right tax treatment in demos.
Original PR description
### Before this commit: > In one of the demo invoices representing Export/SEZ, an incorrect inter-state tax was applied. The tax should have been specific to Export/SEZ transactions. ### After this commit: > The issue has been resolved by correctly applying the Export/SEZ tax, replacing the incorrectly applied inter-state tax.
This fixes an issue where some users could hit an access error while importing data because the import tool tried to read field definitions they were not allowed to access. The import process now skips inaccessible property definitions, helping authorized imports complete more reliably.
Original PR description
We try to import a model, `get_fields_tree` is called recursively to fetch all available fields importable. Since https://github.com/odoo/odoo/issues/174366, it also includes Property of Properties Field, but the code to do that, search directly on the definition model which can be inaccessible for the current record leading to an AccessError. Filtered out Properties where the definition is inaccessible to avoid the issue.
The Point of Sale product grid now displays long product names correctly when product images are turned off. This helps cashiers identify items more easily and avoids confusion during checkout.
Original PR description
**Problem**: When product images are hidden in the Point of Sale (PoS) interface, long product names are clipped. Following the commit: https://github.com/odoo/odoo/commit/1bc90a18807c43206c4620d7faad2579a3a61fc9#diff-15a6744dfd3306e9ae2ff1236ed670da656f52c81619823fb331967dbc790487R25 the product article container's size was fixed using `aspect-ratio: 4 / 3;`. This approach is not suitable for long product names, leading to truncation. **Solution**: Revert the `aspect-ratio: 4 / 3;` style back to `min-height: 4rem` to prevent clipping and allow proper display of long product names. **After fix**  **Steps to reproduce**: 1. Go to the Point of Sale (PoS) settings. 2. Disable the display of product images. 3. Open the PoS interface. 4. Observe that long product names are clipped and improperly aligned. opw-4389643
Users editing tables can now preview solid and custom background colors by hovering over them, matching the existing behavior for gradient colors. This makes it easier to choose the right table cell color before applying it.
Original PR description
### Steps to reproduce: - Open a table (e.g., /table) and select a cell to apply backgroundColor. - Hover over a color in the Gradient tab to see the preview update. - Hover over a color in the Solid or Custom tab — no preview appears. ### Approach: Setting previewMode to true in `onColorHover` temporarily removes `o_selected_td` class in applyTableColor, clearing backgroundColor to allow preview of the hovered color. `COLOR_RESET_PREVIEW` is dispatched on `onColorHoverOut`, reapplying o_selected_td. ### Description of the issue/feature this PR addresses: - Only Gradient tab colors preview on hover in table cells. - Solid and Custom tab colors do not trigger a preview. ### Desired behavior after PR is merged: - Colors from the Solid and Custom tabs now preview on hover in table cells. task-4320353
The accounting walkthroughs now open the right Accounting app menu and use the updated button names. This keeps guided accounting flows usable for teams validating or learning key accounting processes.
Original PR description
Problem --------- When launching the accounting tours, the don't actually run. This is because, when account_accountant is available, the App menu item name is different than when only Invoicing is available. Furthermore, the last steps of the tours where failing because the buttons had be renamed. Solution --------- When account_accountant is available, the app menu name should be `accountant.menu_accounting`, this is done using a patch of the `goToAccountMenu`. Furthemore, the button names for the last steps have been updated accordingly and a few extra steps have been added to generate a transaction. task-4309716 odoo/odoo/pull/188073
This fix ensures page titles in the Room app are included in translations. Businesses using Odoo in multiple languages will see a more consistent localized experience for room-related pages.
7 changes
Resolved issues and error corrections
This update corrects a technical issue in the Romanian localization reports module that prevented the correct handling of date formats. The change ensures that date information is consistently formatted as strings, resolving potential reporting errors and improving data accuracy. This update focuses on internal reporting processes.
Original PR description
Options dict is not supposed to contain date objects.
This update restores the Sales Order (SO) and Service Order (SOL) buttons within the project updates view for field service projects. Previously, these buttons were accidentally removed, preventing users from easily accessing related sales information. This change ensures users can seamlessly link project updates to their corresponding sales orders.
Original PR description
Versions: ---------- - 17.0 Steps to Reproduce ------------ - Create a product and add the template of the field service project. - Create a sale order. - Open the project updates. - We do not see the SO and SOL buttons. Issue ------------ - SO and SOL smart button was removed on project updates in this commit https://github.com/odoo/enterprise/commit/7a82c52fb007ad0f827dd5d124f80d6195bff919 Fix ---------- - We are adding the SO and SOL buttons back. - So the user can at least see the linked data. task-3887972
This update fixes a potential upgrade issue caused by incorrectly mapping window actions to experimental grid views. Removing grid views previously led to problems during updates, particularly when uninstalling related modules. This change ensures that grid views are properly handled, preventing future upgrade complications.
Original PR description
When a grid view is removed we should cascade the removal to the window actions mapping. Grid views are considered experimental. They do not have a `_get_default_grid_view` method, and crafting an acceptable general one is close to impossible due to grid views' requirements in terms of the model fields. Allowing the grid mapping for window actions have been proven to cause issues during upgrades if clients uninstall one of the few modules providing grid views (like analytic_enterprise). Forward-Port-Of: odoo/enterprise#74912
This update prevents the creation of templates when uploading PDF documents for signature processing via the 'Upload a pdf & sign' button. Previously, users could inadvertently save template information. This change ensures a cleaner workflow and avoids unnecessary data storage.
Original PR description
When uploading a pdf through "Upload a pdf & sign" button, no template should be saved. Hence the "Template Properties" button shouldn't show up. This commit aims to hide the button for this type of files. Task: 4317966 Forward-Port-Of: odoo/enterprise#73912
A bug was causing two 'Sign Now' buttons to appear in the signature request dialog. This has been corrected by adjusting the button visibility condition to ensure it disappears when either condition is met. This improves the user experience and prevents confusion.
Original PR description
Version: - 17.0 Step to reproduce: - upload sign template - click on sign now button on template Issue: - two sign now buttons are visible to user Cause: - there is an issue in condition to make button invisible as it require both the condition to be true to make button invisible Solution: - change condition which will make button invisible when any one condition true. task-4234996
This update fixes an issue where clicking between buttons in the softphone interface would unexpectedly generate an input field. The fix ensures that input is only created when a user actively clicks on a button, improving the user experience and preventing unwanted data entry.
Original PR description
Issue: Clicking the space between buttons but no click on any buttons, a input of "123456789*0#" will be generated. Fix: Do nothing when click in this situation, only generate input when clicking on buttons.
This update resolves an issue where incoming call ringtones were playing across all open tabs in Odoo. Now, ringtones will only play on the main 'master' tab, creating a cleaner and less disruptive user experience. This improves usability and reduces potential confusion for users.
Original PR description
Currently when receiving incoming calls, it's possible that all opened tabs will play the ringtone. To reduce the chaos, we now only play the incoming ringtone on the master tab. Task-4402909