Daily updates from Odoo
Thursday, December 4, 2025
4 changes · master
Enhancements to existing features
This update enhances reporting by adding key performance indicators (KPIs) for social media clicks and online appointment bookings. The changes involve refining calculation methods and supporting cross-company data analysis, ultimately providing better insights into business performance.
Original PR description
[IMP] social: add/improve digests We add the #Social Media Clicks KPIs. Note that we use raw sql queries to calculate it as the field click_count on social.post is computed. [IMP] appointment: add digest KPI We add nbr_of_online_appointment KPI. [IMP] various: improve digest Following the improvement of the method _calculate_company_based_kpi to also support the cross company computation, and we rename its call to _calculate_kpi. Following the introduction of the method _get_kpi_custom_settings, we use it to define the KPI's action and remove the method _compute_kpis_actions. Task-2705154
This update enhances the AI draft feature by providing more accurate suggestions through improved LLM integration and a refined user interface. Key configuration changes streamline agent identification and data sharing, resulting in a smoother and more reliable AI experience.
Original PR description
Follow up with minor improvements for the AI draft and the keys config features. These include: - Feeding the already exisiting text of the editable to the LLM for more accurate suggestions - Use the AI app icon in the knowledge button - Prompt button label is now a mandatory field - you cannot add "empty" buttons - Agent subtitle is inserted above prompt buttons - users have better idea of agent they speak to from the UI - m2m_tag widget was used for the models in the default prompts config list view - m2o_avatar widget was used for agents in all default prompts config views - prompt buttons are now hidden for the email prompt evaluator key - model selection is now hidden for the email prompt evaluator, the knowledge html, and the ask AI key. - message date is included when sharing the chatter information
This update simplifies the creation of spreadsheet pivots by automatically loading a default view, eliminating the need for users to manually set up rows, columns, and measures. A fallback count measure is added if none is specified, and the code has been consolidated for easier maintenance. This improves the user experience and reduces setup time.
Original PR description
## Description Current behavior before PR: - Creating an Odoo Pivot from a spreadsheet opened an empty pivot, forcing users to configure rows, columns, and measures from scratch. - The addEmptyGranularity function was duplicated across multiple places, leading to redundant code and harder maintenance. Desired behavior after PR is merged: - New spreadsheet pivots now load the default pivot definition, similar to the web pivot view, with no filters applied. - If no explicit measure is defined in the pivot architecture, a fallback count measure is automatically added. - The addEmptyGranularity function is moved to pivot_helper so it can be reused from anywhere without redefining it in several places. Task: [5253761](https://www.odoo.com/odoo/project/2328/tasks/5253761) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves the user experience by making the share-target feature more intuitive and versatile. It now supports creating expenses, bills, and other records (like leads and tasks) more seamlessly, and allows other apps to contribute to share targets. The update also includes new options like triggering share targets via file drops on the home screen.
Original PR description
In this commit, we update the share-target to the v2. The main goal is to improve the user experience when using the existing share-target. Previously, the share target was only useful for creating an expense, but it wasn't clear to the user. We added a dialog to enhance the user experience before creating an expense, rework the share-target service to allow other app to propose another share target item, the default behavior of a share target is to append the file as an IrAttachment linked to the record. We can need trigger the share target when we drop file(s) on the homescreen Here the list : - Bill - Expense (the only available in v1) - Time-Off - Lead - Task - To-do task-5184941