Tuesday, September 9, 2025
3 changes · 18.0
New functionality added to Odoo
This change adds a shared way for Odoo modules to provide key performance indicators, making KPI reporting easier to extend over time. Accounting now contributes draft document counts by type, giving future dashboards or summaries a consistent source for these business metrics.
Original PR description
This commit introduces a new abstract model `kpi.provider` that allows different modules to contribute their Key Performance Indicators (KPIs) in a modular and extensible way. The `kpi.provider` model defines a base structure for KPI reporting and includes a `get_kpis_summary` method that should be overridden in inheriting models. This method is responsible for returning a list of KPI data specific to the module. KPI data are identified by a unique name and a type allowing for the caller to know how to present the corresponding value. The `account` module inherits from `kpi.provider` to include the amount of draft `account.move` for each `move_type`. Task-id: 5062431 Forward-Port-Of: odoo/odoo#225153
A new sales commission module automatically creates a commission vendor bill when a customer invoice is paid. This helps businesses compensate salespeople consistently by calculating a 10% commission from the related sale amount.
Original PR description
This commit introduces a new Odoo module named `sales_commission` located in the `Addons Extra` directory. The module automates the process of generating sales commissions. It is triggered when a customer invoice is marked as "Paid". Key features: - A new module `sales_commission` is created in `Addons Extra/`. - It extends the `account.move` model to override the `write` method. - When an invoice's `payment_state` becomes 'paid', the module: - Identifies the related sales order and salesperson. - Calculates a 10% commission on the total sale amount. - Creates a vendor bill for the commission amount, payable to the salesperson. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Documents app now includes the number of items in the Inbox folder in the KPI summary. This gives users and managers a quicker view of pending document workload without opening the folder separately.
Original PR description
With this commit, `kpi.provider.get_kpi_summary` will show how many documents are present in the Inbox folder. Task-id: 5062431 Forward-Port-Of: odoo/enterprise#93720