Skip to content
Health
35/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 100 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 10.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
LGPL-3
Combined: AGPL-3
Folder size
0.06 MB
Module directory on disk
Code analysis 3 migration notes 3 models 1 view 0 HTTP endpoints

Description

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 1

XML IDNameModelTypeStatus
view_partner_form_area_manager res.partner.form.area.manager res.partner form Inherits sale_commission.view_partner_form_agent

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (0)

No new fields.

Public methods (2)
  • compute_agents(self, line)
    @api.model
  • write(self, vals)
    @api.multi

New fields (4)
  • area_manager Boolean
    help='This agent is an area manager' string='Is Area Manager'
  • area_manager_id Many2one → res.partner
    comodel_name='res.partner' domain="[('agent', '=', True), ('area_manager', '=', True)]" help='Area manager for the current agent' string='Area Manager'
  • area_manager_sub_agent_ids One2many → res.partner
    comodel_name='res.partner' inverse_name='area_manager_id' readonly=True string='Agents'
  • commission_for_areamanager Many2one → sale.commission
    comodel_name='sale.commission' help='Commission for area manager applied to the current agent' string='Commission For Area Manager'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)
    @api.multi