OdooWiki OCA HUB

Commissions in contract invoices

contract_commission folder_open OCA/commission open_in_new
Generic Modules/Sales & Purchases License: AGPL-3

This module allows to get default commissions for partner in the recurring invoices generated from contracts.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

When recurring invoices are created from contracts, the commission agents configured for the contract's customer are automatically added to each invoice line.

This module connects contracts with the sales commission feature. When Odoo generates an invoice from a contract, each invoice line now automatically receives the commission agents that are set up for the contract's customer.

  • It works in the background: no new menu or button is added.
  • The commission agents are taken from the customer of the contract, so the same default agents used in regular sales documents are applied.
  • This affects the contract.line model when it prepares the values for the invoice line, and the resulting account.invoice.line records.
  • The module installs automatically when both the Contracts and Sales Commissions modules are present.

In practice, users who create recurring invoices from contracts no longer need to manually add commission agents to each invoice line; the commissions are filled in automatically based on the customer's configuration.

Models and fields (1)
  • contract.line · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 12.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 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 12.0

This module is auto-installed when you have contract and sale_commission modules installed.

When invoicing contracts, the agents assigned to the partner of the contract will now be assigned to the generated invoices.

No verified information in OCA: Installation.

info

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.