Daily updates from Odoo
Thursday, March 27, 2025
5 changes · master
Enhancements to existing features
The checkout cart layout has been updated to work better on mobile devices, reducing overlap and making product details easier to read. Related rental, subscription, appointment, and stock sale flows were aligned so customers get a more consistent shopping experience across different product types.
Original PR description
Follows the changes made in community to achieve the following goals: - Better Mobile Layout: Fix overlapping elements and ensure all product information is visible. - Consistent Design: Align layouts across cart_lines and suggested products for a uniform look. - Enhanced Usability: Streamline interactions and navigation for a smoother user experience. task-4387239 Community PR: https://github.com/odoo/odoo/pull/190720 Upgrade PR: https://github.com/odoo/upgrade/pull/7446
When an IoT box is removed from the database, it is now automatically told to clear its server pairing. This prevents devices from remaining stuck as already paired and lets a new pairing code appear without manual intervention.
Original PR description
Community PR: https://github.com/odoo/odoo/pull/203728 This commit adds an `ondelete` handler to the IoT box model, which sends a `server_clear` websocket message to the IoT box. This prevents the IoT box from being stuck in the paired state, and a new pairing code will instead automatically appear. task-4648508
The subscription product catalog now focuses on recurring products and shows prices that match the selected billing plan, such as monthly or yearly. This helps sales users choose the right subscription products with fewer pricing surprises before adding them to an order.
Original PR description
Before this commit: - Clicking on the product catalog from a subscription showed all products, both recurring and non- recurring. - The catalog did not display prices based on the recurring plan monthly/yearly selected in the sales order, leading to confusion about price differences before and after adding products. After this commit: - A filter for recurring products is added to the catalog. - Prices in the catalog now reflect the recurring plan (e.g., monthly or yearly) selected in the sales order. task-4395226
Documents now use a custom drag-and-drop experience instead of the browser’s older built-in behavior. Users get clearer visual feedback when moving documents, creating shortcuts, or attempting actions in restricted folders, making document organization easier and less confusing.
Original PR description
Commit 1 : [REM] documents: remove all old dnd feature Remove old dnd api related code Commit 2 : [IMP] documents: use makeDraggableHook instead of DnD API This commit implements a new draggable hook for documents by using the `makeDraggableHook` utility instead of using the HTML DnD API. The HTML DnD API had some limitations especially regarding the created element which follows the mouse during the DnD. It is actually a snapshot from the dragged element thus not editable... So in addition of centralizing all the drag and drop logic in one file, we can have a visual help when pressing a modifier key (control) when dragging some documents to inform the user that he will create shortcuts instead of moving the selected documents. The user will also have a visual help when he tries to DnD documents in restricted folders or if he doesn't have the rights to move. Task-4306387
Businesses can now set up a virtual IoT box to send print jobs directly to email-based printers. This simplifies printer setup and reduces reliance on dedicated IoT hardware for email printing workflows.
Original PR description
In this commit: ================= - Added virtual IoT box to enable sending print attachments to email printers directly. - Allows printing to email printers without routing through a physical IoT device. - The virtual IoT box acts as a direct channel for handling email-based printing simplifying the setup and reducing dependency on hardware. Task-4626102