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 17.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 brings commission handling into the sales order itself. On a sales order line, you can see and edit the agents who earn a commission on that line, together with the commission plan and the calculated amount. A button with a users icon opens the agent details directly from the order line.
The order form shows a new "Commissions" total next to the taxes, so you can see at a glance how much commission the whole order generates. The order also gets an "Agents" field that lists all agents involved, and you can filter sales orders by agent in the search view.
Agents are filled in automatically from the customer when the order line is created, unless the line is marked as commission free. When the order is invoiced, the agents and their commissions are copied to the invoice lines, so the commission follows the sale through to accounting.
Two buttons on the order, available while it is still a draft or sent, let you regenerate the agents from the customer data or recalculate the commission amounts after changes. Salespeople can read commission plans and invoice agent lines, and can fully manage the agent lines on sales orders.
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 17.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: 6 confirmed, 3 with no information of 9 versions.
Sources · Odoo 12.0
Confirmed on 2026-11-03 in branch 12.0 of OCA/commission.
terminal Installation and usage
OCA documentation · Odoo 17.0Usage
Source · Odoo 17.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.