OdooWiki OCA HUB

HR commissions OCA

hr_commission_oca folder_open OCA/commission open_in_new
Commissions License: AGPL-3

This module links sale_commission with hr module. For now, it only adds another type of agent whose commissions are not invoiced in the corresponding wizard.

It also computes the Boolean field "employee" in ResPartner to be updated according to the ResPartner-HrEmployee relation that was created.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds a new commission agent type called "Salesman (employee)" that links a partner to an HR employee, and lets you mark their settlements as invoiced without creating an invoice.

This module extends the commissions feature so that employees can also act as commission agents. On a partner form, when the agent type is set to "Salesman (employee)", an Employee field appears so you can link the partner to the corresponding HR employee.

Business rules added by the code: - A partner cannot be saved as "Salesman (employee)" unless exactly one employee is linked to it. If not, Odoo shows an error telling you to create an Employee with a Related User under HR Settings. - On an employee record, you cannot remove the related user if that user's partner is a commission agent of type "salesman". Odoo blocks the change with a validation error.

On commission settlements, a new "Mark as invoiced" button is added before the regular invoice button. It is only visible when the settlement is in the "Settled" state and the agent type is "Salesman (employee)". Pressing it simply moves the settlement to the "Invoiced" state, without generating a customer invoice.

The module touches the partner, employee and commission settlement screens. It relies on the account commission module for the settlement form and on the HR module for employees.

Models and fields (3)
  • hr.employee · extends an existing model
  • res.partner · extends an existing modelagent_type
  • commission.settlement · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 19.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: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 19.0

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

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.