Friday, September 27, 2024
27 changes · 18.0
Resolved issues and error corrections
The Discuss sidebar now makes the selected conversation easier to identify in dark mode. This reduces visual confusion in compact sidebars and improves readability for users working in Odoo Discuss.
Original PR description
The active item had black background with light grey rounding. The border looked too hard especially in a narrow space like the sidebar, and the black background was too similar with background of…
The active item had black background with light grey rounding. The border looked too hard especially in a narrow space like the sidebar, and the black background was too similar with background of channel with subthreads or in a call when compact. This commit adapt style to match `$o-action` of white theme, while adjusting color of background and border to look nice with dark theme of discuss app. Before / After <img width="300" alt="Screenshot 2024-09-26 at 18 30 11" src="https://github.com/user-attachments/assets/89ad4598-0182-44d6-9cd1-9dd29782c86a"> <img width="302" alt="Screenshot 2024-09-26 at 18 40 00" src="https://github.com/user-attachments/assets/526ad052-fab7-4e56-b6a1-88d1e8fe1a03"> Before / After <img width="59" alt="Screenshot 2024-09-26 at 18 41 14" src="https://github.com/user-attachments/assets/18688413-04b8-4f14-9966-ebed7416585d"> <img width="63" alt="Screenshot 2024-09-26 at 18 40 59" src="https://github.com/user-attachments/assets/ab6178d2-2a05-41e0-bb73-0433191f64b9">
The quote builder now restores the document preview in sales quotations and improves how the PDF placeholder appears. This helps sales users verify attached quote documents more reliably before sending them to customers.
Original PR description
`o_kanban_previewer` was wrongly removed in dbe94039de1be49f33505445d1e27543c3137d4f. This commit brings it back and improves the display of the pdf placeholder.
Combo products no longer show the invoicing policy field in Sales and Point of Sale product forms. This avoids displaying a setting that does not apply to combo products, reducing confusion during product setup.
Original PR description
Issue: - The invoicing policy field is displayed for all product types, including combo products. Fix: - Hide invoicing policy field for products of type 'combo'. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an issue where paid orders created while the point of sale was offline could remain unsynced after the session was restarted. Businesses can rely on offline sales being uploaded once connectivity returns, reducing the risk of missing orders or revenue records.
Original PR description
Before this commit, orders created in offline mode would not sync upon restarting the session once back online. opw-4213314 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes several issues in return and exchange workflows, including incorrect quantity handling, duplicate procurement creation, and sale order updates during multi-step returns. It helps businesses process returns more accurately, especially when products use lots, different units of measure, or exchange shipments.
Original PR description
This commit unpack the keys and values of `layers_by_lot` correctly + use the uom of the product's move not the lot Task :4210510 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 an issue in the restaurant point of sale demo data where paid demo orders could remain stuck on the floor plan, and one demo table could not accept new orders. This helps users testing or demonstrating restaurant workflows complete payments and continue ordering normally.
Original PR description
Steps to reproduce : --------------------------- - Install the pos_restaurant module. - Open any demo orders, let's say table 1 - Make the payment, then go to the receipt screen then the floor plan - [ISSUE] Order is still there. - In Table 6, can't even place the order Cause : --------- 1. Demo orders case was not handled in the "sync_from_ui" method leading to this issue 2. Uuid was not given for the Table 6 order line, causing this misbehavior. Fix : ------ 1. Handled the case for demo orders in the "sync_from_ui" method 2. Provide uuid for table 6 order line at the time of creation Task: 4212901
This fixes searches by display name for records in affected areas where that search option had stopped working. Users can again find the right aliases, project tasks, and recruitment department pages using familiar names.
Original PR description
Since https://github.com/odoo/odoo/pull/181529, we cannot search on display name for some models that define themselves the field without specifying the search method. The `display_name` field is defined (including its compute method) only when the model does not define it yet. Existing declarations were missing a `search` declaration. odoo/enterprise#70746 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix corrects how amounts are calculated for the accounting dashboard so the displayed figures better match the underlying journal entries. It helps finance users rely on dashboard totals for quicker, more accurate day-to-day review.
Original PR description
It's hard to describe in words, hope you understand through the attached description file  https://github.com/odoo/odoo/blob/b4090cbdc697f92e755e1d2a368e202a5df0f532/addons/account/models/account_move.py#L1079 https://github.com/odoo/odoo/blob/b4090cbdc697f92e755e1d2a368e202a5df0f532/addons/account/models/account_move.py#L1083 https://github.com/odoo/odoo/blob/b4090cbdc697f92e755e1d2a368e202a5df0f532/addons/account/models/account_move.py#L1088 [description table.ods](https://github.com/user-attachments/files/17140814/description.table.ods) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Several website building blocks were adjusted so images keep their intended size and layouts remain consistent. The changes remove problematic alignment behavior, improve grid editing options, and fix visual issues on desktop and mobile.
Original PR description
This PR regroups some fixes about snippets with columns wrongly set to `display: flex` in order to have a "Vertical Alignment" option to align the content in it. Indeed, `display: flex` should be avoided, as any element in it tries to fill the available space, making the images not have their real size.
The barcode scanner now waits until the camera is ready before related actions can close it, reducing interruptions during startup. It also stops repeated scan attempts once the camera stream is closed, preventing potential loops and instability when users exit the scanner.
Original PR description
This commit changes two things: 1. Adds `onReady` props to be able to call a method when the video scanner is ready. In the Barcode app for example, this prop will let us to prevent to close the camera during its initialization. 2. Avoids to set a timeout for `detectCode` if there is no more stream. Without this change, it could happens something goes wrong when closing the camera video scanner and then, it will loop infinitly on `detectCode` because the timeout code part is outside of the try/catch and so it is called anyway everytime `detectCode` is run. Enterprise PR: odoo/enterprise#70607
Fixes layout and visibility issues in the website text cover snippet so it behaves more consistently across screen sizes. This helps website editors create pages that resize smoothly and display correctly on mobile devices.
Original PR description
This commit fixes the `s_text_cover` snippet template to: - remove the padding `pt pb` classes, as they are useless in grid mode, - fix the `g-height-*` classes, as they were not matching the number of rows and it is needed to resize smoothly, - fix a `col-lg-*` class as it needs to match with the grid one, - fix the mobile visibility classes: the mobile breakpoint is at `LG` and it was missing the `o_snippet_mobile_invisible` class. task-3665300
The Project app now shows the correct wording for the stat button that lists tasks blocking the current task. This avoids confusion by changing the label from "Blocking Tasks" to "Blocked Tasks" so users better understand the task relationship.
Original PR description
Before: The 'blocked by' stat button in the Project module incorrectly displays as 'Blocking Tasks'. After: The text of the 'blocked by' stat button has been updated from 'Blocking Tasks' to 'Blocked Tasks' in the Project module. task-4119271
The editor now shows the placeholder hint inside empty quote blocks with the same padding as typed text. This makes the editing experience look cleaner and reduces confusion about where text will appear.
Original PR description
This commit adds the styling rules for the blockquote (present in the web_editor module), and fixes the padding for the hint that is displayed when the blockquote is empty. Before this commit, the hint would be displayed on the top left corner of the blockquote without any padding, which, other than looking bad, does not match the position in which the text is inserted after typing. task-4207507
Product images in field service sales now appear at a more appropriate size, and placeholder images are shown when no product image is available. This makes product views cleaner and more consistent for users.
Original PR description
Currently, the product image is displayed in a large size, and the empty image is not shown. Both issues have been fixed in this commit. task-4188603
Fixed an issue where validation and export buttons could disappear on batch payments when online payments were installed but not configured for a bank journal. This ensures users can continue validating and exporting relevant payment batches without unnecessary setup changes.
Original PR description
Before this commit, when account_online_payment was installed and no payment initiation was configured on a bank journal, the batch validation and export buttons never appeared on the batch payments made on this journal.
Users can now create a new spreadsheet from Documents while debug mode is enabled without running into an error. This fixes a crash caused by certain folder selections, improving reliability for users and administrators working in debug mode.
Original PR description
Steps to reproduce: - enable debug mode - go to Documents - select My Drive - click on New > Spreadsheet => boom `OwlError: Invalid props for component 'TemplateDialog': 'folderId' is not a number` The props can also be a string like `"MY"`, `"COMPANY"` or `"TRASH"`
This update prevents copied databases from unintentionally connecting to Urban Piper external services. It helps support teams investigate issues safely without affecting live operations or customers.
Original PR description
This commit adds the missing neutralization necessary for the pos_urban_piper 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/66733
Bookkeepers can now use the Secure Entries wizard as intended. This removes an access-rights blocker so accounting teams can complete secure entry workflows without needing extra help or elevated roles.
Original PR description
Currently bookkeepers do not have the rights to use the Secure Entries wizard. This is fixed in this commit.
This fix restores the ability to search records by their displayed name in several business areas where it had stopped working. Users can again find relevant records more easily in accounting synchronization, payroll, sales subscriptions, commissions, and signing workflows.
Original PR description
Since https://github.com/odoo/odoo/pull/181529, we cannot search on display name for some models that define themselves the field without specifying the search method. The `display_name` field is defined (including its compute method) only when the model does not define it yet. Existing declarations were missing a `search` declaration. odoo/odoo#181563
This fix removes an extra message panel that was appearing in manufacturing maintenance screens. Users will now see a single chatter area, reducing visual clutter and avoiding duplicate communication sections.
Original PR description
The chatter was added in the main view via odoo/odoo#175329 so we need to remove this one otherwise we'll see 2 chatters.
Online payment setup now excludes internal transfers because they are no longer supported. This prevents unsupported payment initiation data from being sent, helping businesses avoid failed or confusing payment workflows.
Original PR description
Internal transfers are no longer supported as per b4da30bfa8a82959f91f606cb94c0704d4afccb8. This commit adjusts payment initiations' payloads to reflect this change.
When a spreadsheet-based quality check fails, users now remain on the spreadsheet screen so they can read the failure message. This helps operators understand what went wrong before choosing to return to the Shop Floor view.
Original PR description
When a quality check of type 'spreadsheet' fails, we want to show the failure message and stay on the spreadsheet view. That way the user has the time to see what failed. They can still use the 'Shop Floor' link to return to the shopfloor view.
Portal users can now see the Home section in the Documents search panel. This makes it easier to return to the full overview of folders and documents after browsing inside a specific folder.
Original PR description
This commit enables the display of the home section in the documents search panel for portal users. This allows portal users, for example, to return to a view encompassing all folders and documents after inspecting the contents of a folder. task-3373836
Dragging a single document no longer shows an incorrect “undefined” message in list or kanban views. Document cards also keep key visual details, like the owner avatar and activity icon, consistently positioned for a clearer user experience.
Original PR description
This commit fix the 'undefined' message when trying to drag and drop a single document in the kanban and list view. It also fix the owner avatar and activity icon to always stick to the bottom of the kanban card.
When users preview a document and then switch folders, the control panel actions now refresh correctly. This prevents outdated options from lingering, making document navigation more reliable and reducing user confusion.
Original PR description
…ewing This commit fixes the remaining actions after switching folders while previewing a document.