Sales Commissions Agent Restrict
sale_commission_agent_restrict · OCA/commission
Health
67/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 14.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.29 MB
Module directory on disk
Code analysis
2 migration notes
4 models
4 views
0 HTTP endpoints
Migration considerations
- Migrating to 18.0: `user_has_groups()` was removed: use `self.env.user.has_group()`. migration-user-has-groups · source
view_sale_order_line_tree_mod— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · 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 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_order_agent_form_inherit |
sale.agent.order.inherit.form | sale.order | form | Inherits sale_commission.view_order_agent_form_inherit |
view_partner_form |
res.partner.form.agent.inherit | res.partner | form | Inherits base.view_partner_form |
view_partner_form_agent_inherit |
res.partner.form.agent.inherit | res.partner | form | Inherits commission.view_partner_form_agent |
view_sale_order_line_tree_mod |
Agent lines for user displaying only own commissions | sale.order.line.agent | tree | Inherits sale_commission.view_sale_order_line_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (0)
No new fields.
Public methods (5)-
assign_remove_agent_groups(self, is_agent) -
check_agent_changing_agents(self, vals)@api.model -
check_agent_changing_payment_terms(self, vals)@api.model -
create(self, vals_list)@api.model_create_multi -
write(self, vals)
New fields (0)
No new fields.
Public methods (1)-
write(self, vals)
New fields (1)
-
current_agent_totalFloatcompute='_compute_current_agent_total'store=Falsestring='My Commission'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
button_edit_agents(self)
Loading…