Daily updates from Odoo
Monday, February 17, 2025
2 changes · master
Resolved issues and error corrections
Fixed an installation issue in the accounting spreadsheet dashboard caused by a changed dependency order between accounting modules. This helps ensure the dashboard module can be installed reliably without blocking setup due to a missing menu reference.
Original PR description
Since enterprise#77895 the module 'accountant' depends on 'account_reports', whereas it was the contrary before. And so this module installation was raising an error on unknown reference 'accountant.menu_accounting' runbot error 116839
This fix restores reliable drag-and-drop behavior in the Documents folder panel and prevents the folder panel from staying open when selecting documents on mobile. It improves usability and avoids crashes or confusing screen layout issues for users managing documents.
Original PR description
Issue 1, Drag and Drop Reproduce: 1. Try drag & drop in search panel. 2. Either it doesn't work, or it crashes. Issue 2, Reproduce: 1. Go to mobile view 2. Select a document 3. `Folders`, the search panel, is still visible In 0d904521, the `root` property was redefined in document's search panel and overrode the `root` `ref` from the search panel template. Furthermore, if we renamed the property, if at some point we are without selection while in "All", and then open a folder and select a document, the side panel won't be hidden either. This commit then reverts these changes. We also take the opportunity, while in master, to clean some unrelated dead code.