OdooWiki OCA HUB

Brazilian Localization Sales Commission and Warehouse

l10n_br_sale_commission_stock folder_open OCA/l10n-brazil open_in_new
Localization License: AGPL-3

Module created to copy the sales order commission information to the invoice created through picking.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Automatically carries the sales commission agents defined on a sales order line over to the invoice line when the invoice is created from the warehouse shipping process.

This module links sales commissions with the warehouse invoicing flow. When you create a customer invoice from a delivery (using the "Create Invoice" wizard on a picking), the commission agents that were set on the related sales order line are copied onto the new invoice line.

  • The copy happens only when the invoice line comes from a single stock move that is linked to a sales order line.
  • For each agent on that sales order line, the agent and the commission percentage/plan are added to the invoice line.
  • If the move is not linked to a sales order line, or several moves are grouped, no agents are copied.

It works together with the Brazilian sales, stock and commission localisation modules, so the commission information follows the goods from the sales order through delivery to the invoice. There are no new menus or screens; the change is automatic inside the existing invoice-from-picking wizard (stock.invoice.onshipping).

Models and fields (1)
  • stock.invoice.onshipping · 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/l10n-brazil.

terminal Installation and usage

OCA documentation · Odoo 12.0

This module depends on:

  • l10n_br_sale_stock
  • l10n_br_stock_account
  • l10n_br_sale_commission

No configuration required.

No verified information in OCA: Usage.

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.