Daily updates from Odoo
Friday, June 28, 2024
3 changes · master
Code cleanup and technical improvements
This update streamlines how contact-like user information is prepared and sent to the browser across messaging-related features. It should reduce repeated data transfer and client-side processing, improving efficiency without changing expected user workflows.
Original PR description
This will reduce data transferred to the client and processed in JS when the same persona was appearing multiple times in various places. This also makes more clear what is transferred by avoiding nested values. This is part 4, focusing on persona in general. Unfortunately `mail_partner_format` itself is not yet converted to store in this PR because `_message_format` needs to be done first, and that will be its own PR (this is the next step). Formatting code eventually becomes simpler too, by always adding data to the store rather than updating pre-existing dict manually. Part of task-3605717 https://github.com/odoo/odoo/pull/170709
The Knowledge actions menu was reorganized internally to reduce the need for custom changes across different screen types. This should make the feature easier to maintain and less likely to break as the product evolves, with little visible change for users.
Original PR description
We refactor the menu "knowledge" of the menu "Actions" so that we do no longer need to patch many renderers.
This work brings several accounting-related features and reports together under the accountant module, including financial reports, asset reporting, scheduled tasks, and demo data. For businesses, it should make accounting capabilities more cohesive and easier to maintain, though the work-in-progress status suggests further validation may still be needed before release.