TIP: You can type at any time to perform a new search.
HR commissions
hr_commission · OCA/commission
- Repository
- OCA/commission · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Commissions
- Folder size
- 0.06 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, ambientWave
- 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.view_partner_form_agent | |
view_settlement_form |
Settlements - Add "Mark as invoiced" button | commission.settlement | form | Inherits account_commission.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.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…