Sales commission Area Manager
sale_commission_areamanager · OCA/commission
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 100 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 10.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
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
License review
- sale_commission_areamanager (LGPL-3) depends on sale_commission (AGPL-3): combined with its dependencies it must be distributed under AGPL-3, including offering the source to users of a hosted instance. LICENSE_EFFECTIVE_UPGRADE
Based on the manifest licenses of this module and everything it depends on: a heuristic to spot problems early, not legal advice. Methodology
Migration considerations
AccountInvoice— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceSaleOrder— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceview_partner_form_area_manager— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_managerBooleanhelp='This agent is an area manager'string='Is Area Manager' -
area_manager_idMany2one → res.partnercomodel_name='res.partner'domain="[('agent', '=', True), ('area_manager', '=', True)]"help='Area manager for the current agent'string='Area Manager' -
area_manager_sub_agent_idsOne2many → res.partnercomodel_name='res.partner'inverse_name='area_manager_id'readonly=Truestring='Agents' -
commission_for_areamanagerMany2one → sale.commissioncomodel_name='sale.commission'help='Commission for area manager applied to the current agent'string='Commission For Area Manager'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
write(self, vals)@api.multi