Repository
OCA/commission · module folder · Try on Runboat
Module version
1.0.0
Category
Sales management
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/commission/tree/10.0/website_sale_commission_lead_geo_assign
Last tracking update
2026-08-07 07:17:46
Authors
Odoo Community Association (OCA), Agile Business Group
Maintainers
Odoo Community Association (OCA), Agile Business Group
Committers
Weblate, OCA-git-bot, oca-travis, SimoRubi
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
wizard_geo_assign_lead_view Geo assign agents to leads wizard.geo.assign.lead form New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals)
    @api.model
  • geo_assign_agents(self, check_existing_agents=True, leads=None)
    @api.model
    Assign an agent to the leads specified. :param leads: Recordset of leads to assign. :param check_existing_agents: See the homonym parameter in geo_assign_lead.

New fields (1)
  • check_existing_agents Boolean
    default=True help='If checked, leads with already assigned agents will be blocked. Otherwise, found agents will be added' string='Check existing agents'
Public methods (1)
  • geo_assign_lead(self)
    @api.multi
    Assign an agent to the leads in active_ids