| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/commission |
| GIT | |
| GIT | https://github.com/OCA/commission.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/commission/tree/18.0/hr_commission_oca |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Commissions |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Tecnativa, Odoo Community Association (OCA) |
| MAINTAINERS | |
| MAINTAINERS | Tecnativa, Odoo Community Association (OCA) |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, David Bañón |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/commission |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:30:11 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/commission: - account_commission_oca - commission_oca odoo/odoo: - account - base_setup - base - web - onboarding - product - bus - web_tour - html_editor - uom - analytic - portal - web_editor - http_routing - auth_signup - digest - resource - hr - phone_validation - resource_mail |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| 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. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_partner_form_agent |
res.partner | field | Inherits commission_oca.view_partner_form_agent | |
view_settlement_form |
Settlements - Add "Mark as invoiced" button | commission.settlement | button | Inherits account_commission_oca.view_settlement_form |
No new fields.
Public methods (1)mark_as_invoiced(self)
No new fields.
Public methods (1)write(self, vals)
agent_type
Selection
selection_add=[('salesman', 'Salesman (employee)')]
employee
Boolean
compute='_compute_employee'
readonly=False
store=True
employee_id
Many2one → hr.employee
comodel_name='hr.employee'
compute='_compute_employee_id'
compute_sudo=True
string='Related Employee'
No public methods.
| STATUS | |
|---|---|
| STATUS | Open migration PR - not merged yet for this version |
| REPOSITORY | |
| REPOSITORY | OCA/commission |
| PULL REQUEST | |
| PULL REQUEST | [19.0][MIG] hr_commission_oca (#665) |