TIP: You can type at any time to perform a new search.
HR commissions OCA
hr_commission_oca · OCA/commission
- Repository
- OCA/commission · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Commissions
- Folder size
- 0.07 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/commission
- Last tracking update
- 2026-08-07 08:42:54
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- Weblate, OCA-git-bot, oca-ci, David Bañón
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
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.
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_partner_form_agent |
res.partner | form | Inherits commission_oca.view_partner_form_agent | |
view_settlement_form |
Settlements - Add "Mark as invoiced" button | commission.settlement | form | Inherits account_commission_oca.view_settlement_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (0)
No new fields.
Public methods (1)-
mark_as_invoiced(self)
New fields (0)
No new fields.
Public methods (1)-
write(self, vals)Check if there's an agent linked to that employee.
New fields (3)
-
agent_typeSelectionselection_add=[('salesman', 'Salesman (employee)')] -
employeeBooleancompute='_compute_employee'readonly=Falsestore=True -
employee_idMany2one → hr.employeecomodel_name='hr.employee'compute='_compute_employee_id'compute_sudo=Truestring='Related Employee'
No public methods.
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 168 days ago
- Last activity
- 39 days ago
- Repository
- OCA/commission
- Pull request
- [19.0][MIG] hr_commission_oca (#665)