OdooWiki OCA HUB

Sales commissions: settlement partial invoicing

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

Allow to generate partial agent invoice from settlement.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Lets you invoice a commission settlement in several partial invoices instead of one, and tracks how much of the settlement has already been invoiced.

This module extends the commission settlement screen so a settlement can be invoiced progressively rather than all at once.

On the settlement form you now see an "Invoiced Amount" figure next to the total, and a smart button showing how many invoices have been generated for that settlement. Clicking the button opens the related vendor bills.

When you generate an invoice from a settlement, the module remembers which invoice lines were created. If you generate another invoice for the same settlement, the amount already invoiced is subtracted from the new invoice line, so the same commission is never billed twice. The settlement's status is recalculated automatically: it stays "settled" while the invoiced amount is still below the total, and becomes "invoiced" once the full amount has been billed.

When a related invoice is validated, the settlement status is refreshed again. The original single-invoice field on the settlement form is hidden, because several invoices can now exist.

It touches the commission settlement (sale.commission.settlement) and customer/vendor invoice (account.invoice) models.

Depends on

Models and fields (2)
  • account.invoice · extends an existing model
  • sale.commission.settlement · extends an existing modelstate, invoice_ids, invoice_count (Invoice Count), invoiced_amount, invoice_line_ids (Generated invoice lines)

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
  • Generate an invoice from a settlement
  • Open the invoice and change the amount
  • Go back back to settlement and invoice again

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.