Health
61/100
fair
-
Security25/25No findings
-
Activity6/25Last human commit 30 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 10 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis
0 migration notes
3 models
2 views
0 HTTP endpoints
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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…