This module adds the function to calculate commissions in sales orders.
Commission lines assigned to sales order lines will be passed to the corresponding invoice lines.
Creating settlements directly from the sales order lines is outside the scope of this module.
This module depends on the account_commission module.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Adds sales commissions to sales orders: each order line can have agents with a commission, the total commission is shown on the order, and the agents are carried over to the invoice.
This module lets you attach commission agents to the lines of a sales order and see the commission amount directly on the order.
On a sales order, each line gets an "Agents" button (a small people icon) that opens a popup where you can add one or more agents, choose the commission rule and see the calculated amount. Agents are filled in automatically from the customer when the order is created, unless the line is marked as commission-free. The order form also shows a "Commissions" total next to the taxes, and a "Regenerate agents" button (available while the order is in draft or sent status) to recalculate the agents on all lines.
When the order is invoiced, the agents and their commissions are copied to the invoice lines, so the commission information follows the sale through to accounting. The module also adds an "Agents" filter to the sales order search, so you can find orders by agent.
It works together with the commission and account commission modules, and salespeople can read the commission and commission section data needed for this.
Depends on
Required by other modules
Models and fields (3)
- sale.order · extends an existing modelcommission_total (Commissions), partner_agent_ids (Agents)
- sale.order.line · new modelagent_ids
- sale.order.line.agent · new modelobject_id
Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 19.0
Confirmed on 2026-11-03 in branch 19.0 of OCA/commission.
terminal Installation and usage
OCA documentation · Odoo 19.0Usage
Source · Odoo 19.0For adding commissions on sales orders:
- Go to Sales \> Orders \> Quotations.
- Edit or create a new record.
- When you have selected a partner, each new quotation line you add will have the agents and commissions set at customer level.
- You can add, modify or delete these agents discretely clicking on the icon with several persons represented, next to the "Commission" field in the list. This icon will be available only if the line hasn't been invoiced yet.
- If you have configured your system for editing lines in a popup window, agents will appear also in this window.
- You have a button "Regenerate agents" on the bottom of the page "Order Lines" for forcing a recompute of all agents from the partner setup. This is needed for example when you have changed the partner on the quotation having already inserted lines.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.