Skip to content
Health
61/100
fair
  • Security25/25
    No findings
  • Activity6/25
    Last human commit 30 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 10 Odoo series since 8.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 2

XML IDNameModelTypeStatus
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_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'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…