Daily updates from Odoo
Monday, January 13, 2025
4 changes · master
Enhancements to existing features
The quick search menu in the search bar now opens using a more robust dropdown behavior, helping it appear correctly even when users work inside pop-ups or overlays. This improves day-to-day usability and reduces cases where search options are hidden or difficult to access.
Original PR description
This commit makes it so the search_bar quick search uses the Dropdown component, this fixes issues where the menu would sometimes be under overlays such as modals. See community PR: https://github.com/odoo/odoo/pull/190352
Shop floor teams can now choose whether the final work order closes the manufacturing order directly. This reduces extra clicks for teams that usually close orders right away, while letting others keep a manual closing step to match their process.
Original PR description
Currently, in the shop floor, when marking the last WO of an MO as done, there is the option to also close the MO. This requires users who want to close the MO to press two buttons in different places. For users who don't want to close the MO, this can also lead to confusion whether they marked the WO as done or not. To improve the user experience, we introduce a new option: 'Close Manufacturing Order' which allows the desired shop floor WO close behavior to be set in the operation type settings. When enabled (default), the mark as done button on the last WO of an MO in the shop floor will have a 'Close Production' button directly instead of a 'Mark as Done' button. When disabled, the MO needs to be closed manually after marking the last workorder as done, as we now no longer show the Close production button on the workorder after marking it as done. task-4367540
Scanning a packaging barcode from the barcode app homepage now works like scanning the product barcode, making it easier to find items without opening packaging. Inventory counting behavior is unchanged, so packaging scans during inventory still add the correct packaged quantity.
Original PR description
Normally, scanning the barcode of a product packaging has no effect on the barcode module homepage. For the convenience of not having to open the packaging in order to scan the barcode of the product it contains just to locate it, the barcode on the packaging itself is now treated the same way as the barcode on the product itself when scanned on the module homepage. The behaviour with inventory taking (ie adding the product as many times as the packaging contains) remains unchanged. Task ID: [4284938](https://www.odoo.com/odoo/project/966/tasks/4284938)
Code cleanup and technical improvements
Odoo now avoids automatically adding every message recipient as a follower, so records should keep cleaner and more relevant follower lists. Customer-facing documents still keep the right customer access where needed, while notifications are handled more consistently across apps like appointments, helpdesk, payroll, and follow-up.
Original PR description
Autollow (adding explicit recipients, aka 'partner_ids) as followers when posting a message should be used only in some specific flows. It is notably done to ensure customer of portal-enabled…
Autollow (adding explicit recipients, aka 'partner_ids) as followers when posting a message should be used only in some specific flows. It is notably done to ensure customer of portal-enabled documents (SO, PO, ...) are able to access it, as ACLs are notably based on followers. Currently python code does not activate it by default, as it would create a log of useless followers. JS does it once the composer is opened, mainly for historical reasons. Autofollow is now always turned off. Purpose is to have only relevant followers, and mainly internal users once email-like flow is completely implemented. Some manual autofollow are also removed. SO and PO expect customer to be follower of documents, notably for ACL purpose. We therefore set the new '_mail_thread_customer' class attribute introduced in this change. It does the same as 'mail_post_autofollow', but for the document customer only. Task-4273479: [mail] Stop autofollow madness ! Prepares Task-4422660: [mail] Use external suggested recipients Prepares Task-4273479: [mail] Email-like recipients