Repository
OCA/commission · module folder · Try on Runboat
Module version
1.1.0
Category
Sales Management
Folder size
0.08 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/commission
Last tracking update
2026-08-07 08:22:59
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Weblate, OCA-git-bot, oca-ci, Christian-RB, ambientWave
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
l10n_br_sale_commission, sale_commission_pricelist, sale_commission_salesman
Description
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.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_order_agent_form_inherit sale.agent.order.inherit.form sale.order form Inherits sale.view_order_form
view_sale_order_line_tree sale.order.line.agent.tree sale.order.line.agent tree New
view_sales_order_filter_agent view_sales_order_filter_agent sale.order Inherits sale.view_sales_order_filter
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (2)
  • commission_total Float
    compute='_compute_commission_total' store=True string='Commissions'
  • partner_agent_ids Many2many → res.partner
    comodel_name='res.partner' compute='_compute_agents' search='_search_agents' string='Agents'
Public methods (2)
  • recompute_lines_agents(self)
  • recompute_lines_agents_amount(self)

New fields (1)
  • agent_ids One2many → sale.order.line.agent
    comodel_name='sale.order.line.agent'
Public methods (0)

No public methods.

New fields (1)
  • object_id Many2one → sale.order.line
    comodel_name='sale.order.line'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…