Friday, October 27, 2023
19 changes · 17.0
Resolved issues and error corrections
The stock scrap form no longer shows the same replenishment option twice. This reduces confusion for users processing scrap and keeps the inventory screen cleaner without changing business logic.
Original PR description
The should replenish field is duplicated twice in the view 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 fixes the manufacturing component list so quantity cells are colored correctly for manually consumed materials. It restores the intended visual cues, helping users spot consumption status without changing the underlying process.
Original PR description
Commit a97b352e761b421f6205b03a9b87c79358c128cd removed MrpProductionComponentsX2ManyField to use MrpProductionComponentsListRenderer for coloring quantity cells for manual consumption. Correctly extend StockMoveX2ManyField in this commit. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The stock delivery screen now keeps the forecast icon available after a delivery is saved and leaves draft status. This helps users continue checking product availability from the delivery without losing access to the forecast widget.
Original PR description
Steps to reproduce: - Create a Delivery - Put any product, some quantity and save Issue: The forecast icon disappears as soon as the picking leaves its 'draft' state. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixed an issue that could cause an error when users opened the stock move menu. The menu now uses the correct quantity information for stock moves, helping warehouse users access movement records reliably.
Original PR description
quantity_product_uom is a field on stock.move.line For stock.move, we need to use product_uom_qty. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The stock transfer validation warning was updated to match the current user interface. It removes outdated references to edit mode and uses the current “quantity” wording, making the message easier for warehouse users to understand.
Original PR description
The forms are always in edit mode, so no need to refer to the "edit mode" anymore. Also the 'done quantities' no longer exists from the user pov, there's only a 'quantity' field. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes how the Maintenance app determines the company for a maintenance request when equipment is selected. It helps ensure requests are assigned using the correct company information, reducing confusion in multi-company setups.
Original PR description
Steps to reproduce: - Create a new Maintenance Request - Set an Equipment Issue: In the compute we use `company` instead of `company_id`. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an issue where the quick command menu would not open after saving an email mailing. Users can now continue editing mailings smoothly without losing access to editor shortcuts.
Original PR description
**Fw-port of https://github.com/odoo/odoo/pull/138259** Steps to reproduce: - Edit a mailing (mass_mailing) - Click the save icon - Type to '/' to open the Powerbox (it does not...) The `getPowerboxElement` function fails to return the correct node because `this.options.document` is no longer the iframe document after the Wysiwyg component is re-rendered. This happens because when the Wysiwyg component has its props updated, its `options.document` is overwritten by its default option (the top document). This commit makes sure that, when the editor is mounted inside an iframe, `options.document` evaluates to the iframe's document throughout the entirety of the Wysiwyg component lifecycle. task-3548120
This fixes an issue where the inventory transfer screen could show two Validate buttons. Users now see a clearer, less confusing action area when processing stock pickings.
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
This fixes an issue where newly created stock move lines could temporarily show the related stock move quantity as zero. The change helps keep inventory movement quantities accurate during stock operations, reducing the risk of confusing or incorrect stock information.
Original PR description
`quantity` on sm is depended on `quantity` on sml. When create new sml, `quantity` of sm will always be 0. To fix it, we use origin sm in the compute function to get correct value. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix restores the visual styling that appears when users hover over or focus on an auto-resizing input in the Mail app. It helps users better see which field is active, improving clarity during message composition and related interactions.
Original PR description
hovering and focusing style is lost. before/after:   --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The message reply preview in Mail now only reacts to clicks on the visible preview area, matching where users see the clickable cursor. This prevents accidental jumps to replied-to messages when clicking nearby empty space in a conversation.
Original PR description
Before this commit, when a message is a reply to another message, the whole row of the message reply-to was clickable to highlight the reply-to message. This is ok when the click happens on the actual reply-to message above the message, but when the content of the reply-to message is short, the click area extends to more than the "clickable" cursor show, so that click on thread view hightlights the reply-to message when it shouldn't. The `cursor-pointer` style was already correctly shown only the the actual part of the reply-to message. But the `t-on-click` was more generous and considered the whole row in the thread view. This commit fixes the issue by matching the `t-on-click` with the intentional clickable area, matching the `cursor-pointer` that was correct. Before 
This update removes repeated styling rules from the calendar and web calendar code so they are generated only once. It reduces the backend asset bundle size by about 130KB, helping pages load more efficiently without changing user-facing behavior.
Original PR description
tl;dr : it may be smaller in the SCSS file, but definitely not in the generated CSS file. Do'nt repeat want can be set once. These changes result in roughly 130KB gain in the backend bundle. Follow-up of https://github.com/odoo/odoo/pull/138670 task-3546717 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Users who do not have publishing rights can now create website or eLearning records when those records are left unpublished, which is the normal default state. The change prevents unnecessary errors while still checking permissions when content is actually meant to be published.
Original PR description
Currently creating a record with 'is_published' being False (aka not published) crashes when people can't publish. However 'is_published' being False is the default value, and create should work in both cases. It now correctly checks that published records could effectively be published. This allows to remove a small workaround done in eLearning. Followup of odoo/odoo#70291 Task-3299702
Self-order receipts now display the actual payment method name instead of the generic label "Bank". This makes receipts clearer for customers and helps staff identify how an order was paid.
Original PR description
Fixes the receipt payment lines name (replacing "Bank" by the payment method name). task-id: 3572422
Guest users joining a channel through an invitation link are now correctly identified in the join message. This avoids showing misleading messages such as “public user joined the channel,” improving clarity for live chat and discussion participants.
Original PR description
Since [1], guest is added to the channel immediately instead of waiting for the guest name to be set. Since the guest is not in the context when posting je "join" message, the author of the message is the public user instead of the guest. This results in an incorrect message ("public user joined the channel") since the frontend relies on the author to set the name. This commit fixes the issue by adding the guest to the context.
Steps to reproduce:
- Go to a channel
- Copy the invitation link
- Join the channel with this link
- The message is incorrect
[1]: https://github.com/odoo/odoo/pull/138330This fix corrects how product categories appear in the self-order interface. Customers using self-order can more easily browse items by category, reducing confusion during ordering.
Original PR description
Fixes the display of categories in the self-order UI. task-id: 3572141
A test for the chart side panel in the Documents Spreadsheet module was failing after recent improvements to the domain selector component. This fix updates the test to match the same changes that were already applied to similar tests in the Pivot and List side panels, ensuring the test suite runs successfully.
Original PR description
## Task Description Since the refactor/improvement of the domain selector, there is a failling test in the chart_side_panel_test. This PR updates this tests by making the same changes that have been done in other side panels tests (PIVOT and LIST).
This update fixes automated tests for the rental product configurator feature to work with a new user interface design. The test scripts were adapted to match the updated design, ensuring that quality assurance processes continue to function properly and catch any issues with the rental product configuration feature.
Original PR description
See also: - https://github.com/odoo/odoo/pull/140096 Backport of https://github.com/odoo/enterprise/pull/49636
A recent code change accidentally removed styling from the comparison filter in deferred financial reports, causing the Apply button to appear misaligned. This fix restores the proper styling by preserving the filter container class, making the interface look consistent with other reports.
Original PR description
Following 37798579dd5755f0e7f03e4f54782b0f632a3aaa, the class `filter_comparison` was missing because the div was replaced. Therefore some CSS was missing and the Apply button was misaligned. This is fixed by replacing the `<t>` element instead of the whole `<div>` **Before:**  **After (similar to other reports)**  This is a backport of https://github.com/odoo/enterprise/pull/49633