Repository
OCA/crm · module folder · Try on Runboat
Module version
1.0.1
Category
Sales/CRM
Folder size
0.09 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/crm
Last tracking update
2026-08-07 09:06:23
Authors
Camptocamp, Odoo SA, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo SA, Odoo Community Association (OCA)
Committers
Christopher Rogos, Weblate, OCA-git-bot, oca-ci, C4A8 Migration Bot
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module restore the CRM feature from Odoo \<= 12.0 with lead
probability according to its stage.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
crm_lead_stage_search_inherit Stage - Search - inherit crm.stage search Inherits crm.crm_lead_stage_search
crm_lead_view_form_inherit crm.lead.form.inherit crm.lead form Inherits crm.crm_lead_view_form
crm_stage_form_inherit crm.stage.form.inherit crm.stage form Inherits crm.crm_stage_form
crm_stage_tree_inherit crm.stage.tree.inherit crm.stage tree Inherits crm.crm_stage_tree
view_crm_lead_stage_probability_update crm.lead.stage.probability.update.form crm.lead.stage.probability.update form New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (3)
  • is_stage_probability Boolean
    compute='_compute_is_stage_probability' readonly=True
  • probability Float
    default=<expr>
  • stage_probability Float
    readonly=True related='stage_id.probability'
Public methods (2)
  • action_set_stage_probability(self)
  • write(self, vals)

New fields (1)
  • crm_stage_update_ids Many2many → crm.lead.stage.probability.update.line
    readonly=True args: 'crm.lead.stage.probability.update.line', 'crm_lead_stage_probability_update_line_rel', 'wizard_id', 'stage_id'
Public methods (2)
  • default_get(self, fields_list)
    @api.model
  • execute(self)

New fields (3)
  • lead_count Integer
    compute='_compute_lead_count' readonly=True args: 'No of leads'
  • stage_id Many2one → crm.stage
    domain=[('on_change', '=', True)] readonly=True args: 'crm.stage'
  • wizard_id Many2many → crm.lead.stage.probability.update
    readonly=True args: 'crm.lead.stage.probability.update', 'crm_lead_stage_probability_update_line_rel', 'stage_id', 'wizard_id'
Public methods (0)

No public methods.

New fields (2)
  • on_change Boolean
    help='Setting this stage will change the probability automatically on the opportunity.' args: 'Change Probability Automatically'
  • probability Float
    default=10.0 help='This percentage depicts the default/average probability of the Case for this stage to be a success' required=True args: 'Probability (%)'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…