Daily updates from Odoo
Thursday, July 30, 2026
6 changes
Code cleanup and technical improvements
The spreadsheet chart type selection code was simplified to align with the latest spreadsheet engine update. This is an internal cleanup that helps keep chart editing reliable and easier to maintain, with no expected change to day-to-day user workflows.
Original PR description
With the latest o-spreadsheet version, the patch of `ChartTypePicker` needs to be modified, and it ends up being simpler than before. Task: [6116503](https://www.odoo.com/web#id=6116503&cids=1&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form)
This update reorganizes how pivot table insertion is handled in Odoo spreadsheets. It should preserve the same user experience while making the underlying spreadsheet code easier to maintain and test.
The Documents PDF viewer now manages its behind-the-scenes page interactions more reliably and with less custom code. This is an internal cleanup that helps reduce maintenance risk while preserving existing PDF viewing, navigation, and drag-and-drop behavior.
Original PR description
Migrated the document-level event listeners (click, mousedown, mouseup, mousemove, keydown) to `useListener` (from `@odoo/owl`), which registers them and cleans them up automatically on component teardown. This replaces the manual `addEventListener` / `removeEventListener` pair that was split across `onMounted` and `onWillUnmount`, and drops the local `_onOutsideClick` holder that only existed to keep a stable bound reference for both calls. The PDF file loading in `onMounted` is now awaited. This code already had test coverage — below are some of the tests that failed when it was commented out, and are now passing again: - @documents/pdf_manager/Pdf Manager basic rendering - @documents/pdf_manager/Pdf Manager: arrow navigation - @documents/pdf_manager/Pdf Manager: drag & drop see commented-out runbot build: https://runbot.odoo.com/runbot/batch/2593682/build/114682467
This update modernizes internal appointment calendar code by replacing an outdated technical pattern with the newer recommended approach. It should not change day-to-day behavior for users, but it helps keep the system easier to maintain and safer to evolve.
Original PR description
- community: https://github.com/odoo/odoo/pull/277775 See commit messages for details. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The way Odoo Enterprise manages color scheme behavior has been reorganized to make it easier to maintain and extend. Existing behavior is preserved for compatibility, so users should not see functional changes.
Original PR description
In this commit, we rewrite the color_scheme service as a plugin. For legacy purposes, we keep the color_scheme service (as a service). We also adapt the codebase to reflect the changes on the service.
This update standardizes the popover cards shown in Map, Gantt, and Calendar-style scheduling views. It reduces duplicated implementations across apps, making future maintenance easier and helping deliver a more consistent user experience.
Original PR description
This commit factorizes the code of the card popovers used in Map, Gantt and Calendar views. Those popovers have been recently introduced [1][2][3], but each with their own implementation. Now that we have a clear picture of the functional needs, we introduce a standard CardPopover component that can be used in the various usecases. [1] task-6310630 [2] task-6358615 [3] task-6310362 Task-6385983