Daily updates from Odoo
Sunday, October 19, 2025
2 changes · 19.0
Resolved issues and error corrections
The Documents dashboard now counts Inbox items based on the designated internal folder rather than a tag. This makes the KPI more reliable and avoids test issues linked to deleting demo documents that may be referenced elsewhere.
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
This fix prevents Odoo from failing during startup on Python 3.10 when an older PDF library lacks a newer attribute. It restores compatibility for deployments using the supported Python 3.10 setup.
Original PR description
On Python 3.10, we require PyPDF2==1.26.0 that doesn't have this attribute. For now, we should ignore it. Description of the issue/feature this PR addresses: We cannot start Odoo in Python 3.10 Current behavior before PR: On https://github.com/odoo/odoo/commit/daf7c285bc82fb875e59c2bc50471d6d7b3aa903 it was added a fix, but it was breaking python3.10 installation. Desired behavior after PR is merged: Odoo works in Python 3.10. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#232247