Daily updates from Odoo
Saturday, October 18, 2025
2 changes · saas-18.4
Resolved issues and error corrections
Users dragging a non-PDF file into an empty Sign view will now see only one warning message instead of duplicate pop-ups. This removes a confusing extra alert while keeping the existing drag-and-drop upload behavior unchanged.
Original PR description
Issue: - When no documents exist and a user drags/drops a non-PDF file, the warning pop-up appears twice instead of once. - This happened when there were no documents in the view (when actionhelper is visible). Root Cause: - The `useSignViewButtons` hook was used in both the main view (List/Kanban) and the SignActionHelper component. - When a file was dropped, both components received the bus event and attempted to upload the file independently. - This caused duplicate processing and duplicate warning popups. Solution: - Added condition on bus call to distinguish between components. - Modified the bus event handler to skip processing in SignActionHelper components. - This ensures only the main view component handles file uploads from drag-and-drop. Impact: - Users now see the warning pop-up only once when uploading invalid files - Maintains all existing functionality while fixing the duplicate behavior task-5103284 Forward-Port-Of: odoo/enterprise#95512
The Documents dashboard now counts Inbox items based on the actual internal Inbox folder rather than an inbox label. This makes the KPI more reliable and avoids test issues caused by deleting shared demo documents.
Original PR description
After a discussion about what should be considered the inbox folder on earlier versions, it appears that the `kpi.provider:get_kpi_summary` method should return the count of documents in the folder having the external identifier `documents.documents_internal_folder`, instead of selecting the documents with the inbox tag. As some documents might be referenced by foreign keys in demo data, we also avoid to unlink the documents in the tests to avoid potential errors in the test suites. Runbot-build-error-id: [231787](https://runbot.odoo.com/odoo/runbot.build.error/231787) Task-id: [5062431](https://www.odoo.com/odoo/project.task/5062431) Forward-Port-Of: odoo/enterprise#97416 Forward-Port-Of: odoo/enterprise#95699