Daily updates from Odoo
Thursday, June 22, 2023
3 changes · master
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