Repository
OCA/commission · module folder · Try on Runboat
Module version
1.1.3
Category
Sales Management
Folder size
0.06 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/commission
Last tracking update
2026-08-07 07:47:36
Authors
Odoo Community Association (OCA), Agile Business Group
Maintainers
Odoo Community Association (OCA), Agile Business Group
Committers
Weblate, OCA Transbot, OCA-git-bot, oca-travis, oca-ci, Alessandro Uffreduzzi, Olga Marco, PicchiSeba, Alessio Renda, iwkse
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_commission_geo_assign_product_domain
Description

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_partner_form_agent_geo_assign view_partner_form_agent_geo_assign res.partner form Inherits sale_commission.view_partner_form_agent
view_res_partner_filter_geo_assign view_res_partner_filter_geo_assign res.partner search Inherits sale_commission.res_partner_view_search
wizard_geo_assign_partner_view Add Agents with Geo Assign wizard.geo.assign.partner form New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (5)
  • agent_country_ids Many2many → res.country
    help='Countries where this agent operates' string='Countries' args: 'res.country'
  • agent_state_ids Many2many → res.country.state
    help='States where this agent operates' string='States' args: 'res.country.state'
  • agent_zip_from Char
    help='ZIP range where this agent operates' args: 'Zip From'
  • agent_zip_to Char
    help='ZIP range where this agent operates' args: 'Zip To'
  • no_geo_assign_update Boolean
    args: 'Do not allow update with Geo Assign'
Public methods (2)
  • is_assignable(self, partner)
  • onchange_countries(self)
    @api.onchange('agent_country_ids')

New fields (2)
  • check_existing_agents Boolean
    default=True help='If checked, partners with already assigned agents will be blocked. Otherwise, found agents will be added' string='Check Existing Agents'
  • replace_existing_agents Boolean
    string='Replace Existing Agents'
Public methods (2)
  • geo_assign_partner(self)
  • update_partner_data(self, partner, agents)
    @api.model

Loading…