Daily updates from Odoo
Wednesday, December 11, 2024
12 changes · 18.0
Resolved issues and error corrections
Call participants in Discuss are now sorted using the correct available name information. This prevents ordering issues in the call sidebar, making participant lists more reliable during conversations.
Original PR description
Before this commit, and since [1], the call participants in the side bar were sorted by `nameOrDisplayName` which is not available and should be using `name`. [1]: https://github.com/odoo/odoo/pull/174965
This fixes a visual issue in the Discuss sidebar where the last public channel icon could appear cropped. The icon sizing was adjusted so channels display cleanly, improving the user experience without changing functionality.
Original PR description
**Current behavior before PR:** In the discuss sidebar, the last public channel icon appears cropped due to insufficient width and height. **Desired behavior after PR is merged:** The issue is resolved by little adjusted height and width of the icons, this ensures the last public channel icon displays correctly without cropping. Before / after   task-4354447 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Badges now avoid showing an unintended grey background by default, making labels look cleaner and more consistent. An unsupported styling class was also replaced with a supported one to keep the interface aligned with the current design framework.
Original PR description
Before this commit: - Previously, the badge displayed a default background color of grey. After this commit: - The badge should not display a default background color. - The `text-bg-muted` class, which is not supported in Bootstrap 5, has been replaced with `text-bg-secondary`. task-4247109 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Sales users without Settings or administrator rights can now open quotation templates that include quote builder headers or footers. This prevents access errors and lets sales teams use configured quote layouts without needing elevated permissions.
Original PR description
Problem: When users with no Settings/Admin rights attempt to access the header/footers of the quote builder, an access error is thrown because they have no access to the private attachments. Purpose: Users with access to Sales should have access to the headers/footers to use the quote builder. To resolve the bug, the header/footer attachments needs to have both res_model and res_id of the quotation documents. Steps to Reproduce on Runbot: 1. Install Sales 2. Log in as admin and create a quotation template with a header attached in the quote builder 3. Log in as a demo user with no setting rights but is a sales admin 4. Navigate to a quotation template with headers attached --> access error opw-4318572 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix makes sales order lines use their own warehouse when deciding whether items should be supplied on demand. It prevents incorrect procurement or delivery planning when a line uses a different warehouse than the overall sales order.
Original PR description
…on sale.order.line Description of the issue/feature this PR addresses: Since v18.0, the warehouse_id field on sale.order.line is now computed. Before v18.0, the field was related to the warehouse of the order (order_id.warehouse_id). Current behavior before PR: The method _compute_is_mto() is still referencing the warehouse of the order instead of the warehouse of the line. As a result, in cases where the warehouse of the line differs from that of the order, the is_mto value may be incorrect. Desired behavior after PR is merged: The is_mto value should be computed based on the warehouse of the line, not the order. --- 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 selecting a single empty table cell with the mouse did not show the editing toolbar. Users can now access formatting options consistently when working with table cells, reducing friction during content editing.
Original PR description
**Before this PR:** When trying to select single empty cell using mouse, toolbar is not getting opened. The reason is that `updateToolbar` gets called from mouseup event in `toolbar_plugin` but it fails to open toolbar because `shouldBeVisible` method returns false if selection is collapsed. **Behaviour after PR:** Now toolbar gets opened when selecting single empty cell. task-4316754 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Products linked to purchase order lines can no longer be deleted while still in use. This prevents errors when users open the forecast report for purchase orders that reference those products.
Original PR description
This error occurs when a product is used in a purchase order, but the product is subsequently removed or deleted from the product list, and then an attempt is made to access it in the forecast report. Steps to reproduce: --- - Install ``purchase_stock`` module - Create a new purchase order and create a new product in the purchase order line(eg: Test) - Now go to products and delete the product(eg: Test) - Now in the purchase order line click on the ``Forecast Report`` button Traceback: --- ``ValueError: Expected singleton: product.product()`` This commit resolves the error by adding the ``ondelete`` constraint to the ``product_id`` field. This ensures that a product in use cannot be deleted. sentry-6121903860 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes several business-impacting issues across accounting, CRM lead assignment, tax reporting, and the web interface. It helps prevent incorrect tax report entries, removes blockers in accounting cut-off workflows, ensures older CRM leads can still be manually assigned, and makes PDF and error handling behavior clearer for users.
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
The stop-timer timesheet dialog now displays the trash button at the same height as the other action buttons. This provides a cleaner, more consistent experience when users stop a running task timer.
Original PR description
Before this commit, the trash button displayed in the wizard used when the user clicks on stop button in a task (when a timer is running on that task for that current user) has not the same height than the other buttons displayed in that wizard. This commit makes sure the button has the same height than the other buttons. task-4382070
Fixed an issue where the Documents Email Links page showed a blank page when creating or opening an email link. Users can now manage document-related email links without being blocked by an empty screen.
Original PR description
Steps to reproduce: 1. Go to Configuration > Email Links 2. click on New -> Blank page 3. click on a record -> Blank page Technical Reason: passed an empty form view and the id got overwritten because of the same name. After this commit: - form view will be open - 'documents.document' related aliases here Task-4265660
Employee departures by mutual agreement now use the departure date entered in the wizard to start the notice period, instead of automatically moving it to the next Monday. This helps Belgian payroll users calculate departure-related dates more accurately and consistently with the agreed leaving date.
Original PR description
- make the start_notice_period take the wizard departure_date instead of next monday in case of having `mutual agreement` the departure reason Task: 4373961
Several spreadsheet formulas in the accounting dashboards were corrected so they point to the right data and use the proper calculation signs. This helps ensure dashboard figures are consistent and accurate for financial reporting and analysis.