OdooWiki OCA HUB

Sales Commissions Advance

sale_commission_advance folder_open OCA/commission open_in_new
Sales Management License: AGPL-3

Module used to apply agents commission to down payment invoices proportionally to sale order agents commission.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Automatically calculates sales agent commissions on down payment invoices, based on the commission that would be earned on the full sale order.

When a customer pays a down payment on a sales order, this module makes sure the sales agent still gets a commission on that down payment invoice. Without it, down payment lines would show zero commission.

The commission on a down payment is worked out proportionally: the total commission planned on the regular sale order lines is taken as a base, and the share matching the down payment amount is applied. This base amount is stored on each commission line so it can be reused.

  • Down payment lines on sales orders and customer invoices get their own agent commission lines.
  • The commission amount is recalculated automatically when a down payment invoice is created.
  • Only agents with a positive commission amount on the sale order are carried over.
  • Regular (non-down-payment) lines keep the standard commission behaviour from the Sales Commissions module.

It works together with the sale_commission module and affects sales orders (sale.order.line), customer invoices and credit notes (account.move, account.move.line) and the commission lines attached to invoice lines (account.invoice.line.agent). No new menus or screens are added; the change is visible in the agent commission lines already shown on sales orders and invoices.

Depends on

Models and fields (4)
  • account.move · extends an existing model
  • sale.order.line · extends an existing model
  • account.move.line · extends an existing model
  • account.invoice.line.agent · extends an existing modeldownpayment_base_amount

Text generated by AI (DeepSeek) from reading the Odoo 14.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 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/commission.

terminal Installation and usage

OCA documentation · Odoo 14.0
  • Create Sale order with agents commissions.
  • Create down payment invoice. Make sure down payment product is not commission free.
  • Open created invoice. You will see proportional agents commissions calculated.
  • When creating regular invoice with deducted down payment, also agents commissions from down payment will be deducted.

No verified information in OCA: Installation, Configuration.

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.