Daily updates from Odoo
Thursday, June 22, 2023
6 changes
Enhancements to existing features
New spreadsheets that are opened and closed without any edits will now be cleaned up automatically. This reduces clutter in Documents and saves users from manually finding and archiving empty spreadsheet files.
Original PR description
## Task Description When creating a new spreadsheet and directly closing it without any changes, it is automatically saved, leading clients to have lots of empty documents in the database and forcing them to regularly filter theirs documents to archive empty/unused spreadsheets. This task add an automated task in the autoremove cron to check every day if there is any empty spreadsheet (without any changes) created during the day before and, if there is some, to automatically remove it. ## Related Task - task-2871820
Spreadsheet exports to Excel now include embedded images, so files opened outside Odoo better match the original spreadsheet. This improves sharing and offline use by keeping visual content together with the exported workbook.
Original PR description
This commits implements the zipping of images when exporting to .xlsx file. Because the image file needs to be copied into the .xlsx, a helper function to get the image file using relative path is also made. This way we can avoid transfer the image between JS and Python backend. task [3125701](https://www.odoo.com/web#id=3125701&cids=1&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form)
Users can now personalize the main Odoo home menu by long-clicking and dragging app icons into their preferred order. The chosen order is saved to the user’s settings, making the layout persist across sessions and improving day-to-day navigation.
Original PR description
Before this commit, the application icons in the root menu of the enterprise version were fixed in order. It is now possible to drag and drop the icons after a long click to reorder them and the changes will be stored on the user model propagated by the session dict. Depends on changes made in community: https://github.com/odoo/odoo/pull/116005 opw-3181082
Resolved issues and error corrections
This update fixes the Knowledge editor helper so users can create a new article from its prompt when no articles exist. It also improves the mobile layout so the helper no longer blocks the sidebar, making navigation usable on phones.
Original PR description
This PR will address to following issues with the action helper of the Knowledge editor: 1. The link that allows users to create a new article from the action helper is currently broken: When the user clicks on it, nothing happens. This PR will address that issue by attaching to that link a listener that will allow the creation of an article. 2. On mobile devices, the action helper currently appears above the sidebar which makes some items of the sidebar unreachable. This commit will address that issue by updating the z-index of the different layers. Reference: https://github.com/odoo/enterprise/pull/34788 task-3367208
Users can now add or remove tags when working with one selected document. This fixes a workflow issue where tag changes appeared to do nothing, making document organization more reliable.
Original PR description
Before this commit: Select a document and try to add/remove a tag. Nothing happens and we are unable to add/remove the tag. Reason: Before any changes are updated, we call the '_save' method. And hence, the issue. After this commit: As a result, we are now able to add or remove tags to a single document. task-3299003
Code cleanup and technical improvements
The sales order process has been streamlined by removing the separate locked/done state and aligning related apps with the updated confirmation flow. This reduces workflow complexity across sales, rentals, field service, planning, helpdesk, tax, and Amazon integrations while keeping business processes consistent.
Original PR description
Task-3163931 Community PR: https://github.com/odoo/odoo/pull/115871 Upgrade PR: https://github.com/odoo/upgrade/pull/4452