Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

How does CRM Lead Scoring Computation work

Subscribe

Get notified when there's activity on this post

This question has been flagged
crmquickstart13.0
1 Reply
6291 Views
Avatar
Gans Marc-Antoine (mgs)

How does CRM Lead Scoring Computation work

0
Avatar
Discard
Avatar
Gans Marc-Antoine (mgs)
Author Best Answer

How does CRM Lead Scoring Computation work



  1. What to configure in Odoo


The lead scoring computation takes into account several variables: 

  • Email quality (email_state);

  • Phone quality (email_state);

  • Country (country_id);

  • State (state_id);

  • Source (source_id);

  • Language (lang_id). 


You can decide which variables are to be taken into account via the CRM settings page: 


In addition to the variables above, there are 3 mandatory fields that are taken into account no matter what:

  • Stage_id;

  • Tag_ids BUT a tag is only taken into consideration when there are at least 20 records on a specific tag.

  • Team_id.
    NB: Team_id enables the system to divide the probabilities by team. That means that for a said value (e.g. France), you will have as many probability of success as the number of teams.


You can also decide from which date you want to start considering the data. 


V14.0 SPOILER ALERT:

In V14, all default variables will be taken out so the user will be able to deactivate even these.


The goal is to replace the basic probability field. This field represents the probability to close an opportunity. 

If the user decides to update manually the probability rate, the estimated rate by Odoo will still be possible next to the field label. 


  1. Behind the scenes: how the probabilities are tracked


Each many2one has different possible values, each of which holds the count of lost and won opportunities that display this particular value. 


Many2one fields values:


  • For email and phone quality:


The system checks if the email address is valid (to do so, Odoo uses Flanker + tools.email_normalize module)

  • If the address is valid the hidden field ‘email_state’ will display CORRECT;

  • If there is no email address is displayed => ‘email_state’ = EMPTY;

  • Else => ‘email_state’ = INCORRECT. 


For phone numbers, it takes only into account the phone and NOT the mobile phone ! To check the validity of the numbers, Odoo uses the module ‘phonevalidation’. 

  • If valid, ‘phone_state’ = CORRECT:

  • If no phone, ‘phone_state’ = EMPTY;

  • Else, ‘phone_state’ = INCORRECT. 


  • For other variables:


For example, the country_id will have the different countries as values: France, Belgium, etc.

What happens when an opportunity is won/lost?


If we take this opportunity as an example, we can see that we have three tracked variables displayed in the lead:

  • Email;

  • Country;

  • State.


When the opportunity is won (same thing for lost), the values table will be automatically updated as follows:


The more opportunities you handle, the more accurate this table will become. 

The probability for each value is automatically computed as follows:


P(Won if the opportunity has the value A) = Count(Won when A happens)/Count(Won and Lost opportunities when A happens)


⇒ P(Won|A)= Count(Won|A)/(Count(Won/A)+Count(Lost|A)


=> basically, if we have 8 opportunities for France and among them 3 won, then the probability of success for opportunities that display France will be (3/3+5) = 0.375 = 37.5%


In time, the table of values will look more like that:


  1. Computation of the final probability


  1. Computation of won probability when all events happen together:


If we have an opportunity for a customer located in Belgium and speaking French, the probability of success as computed following the Bayes’ Theorem:

 

⇒ P(Won | A∩B) ∝ P(A∩B | Won)*P(Won)


Meaning: The probability of winning the opportunity when the two events happen (country=belgium and language=french) is equal to the probability of both events happening when opportunities are won multiplied by the overall probability of won opportunities.


In practice, to calculate the probability of both events happening you have to multiply each of the probabilities of successful event happening separately:


⇒ P(Won | A∩B) ∝ P(A | Won)*P(B | Won)*P(Won)


P(Won | Belgium∩French) = P(Belgium|Won) * P(French|Won) * P(overall wons)

  • P(Belgium|Won) = 30/45 = 0.67

  • P(French|Won) = 55/70 = 0.79

  • P(Overall Wons) = 60/75 = 0.8

⇒ 0.67*0.79*0.8 = 0.42


  1. Computation of lost probability when all events happen together:


We then do the same for the lost opportunities:


P(Lost | Belgium∩French) ∝ P(A | Lost)*P(B | Lost)*P(Lost)

  • P(Belgium|Lost) = 15/45 = 0.33

  • P(French|Lost) = 15/70 = 0.21

  • P(Overall Lost) = 15/75 = 0.2

⇒ 0.33*0.21*0.2 = 0.0139


  1. Final computation of the probability of success:


To compute the final percentage of success, you use the values we computed above:


0.42 / (0.0139 + 0.42) = 0.9679 => 96.79%


This is the final result that will be displayed on the opportunity.




2
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
What are the Days to Assign, Days to Close fields in CRM? Solved
crm quickstart 13.0 v14
Avatar
1
Apr 21
5609
How can restrain the user view own CRM opportunities only with a tag?
crm studio quickstart
Avatar
1
Oct 22
83
How can i integrate tiwilio with odoo CRM?
crm crm.lead 13.0
Avatar
Avatar
Avatar
Avatar
Avatar
4
Nov 21
4963
How to delete a validated invoice? Solved
accounting quickstart 13.0
Avatar
1
Apr 21
4185
Which are the accounts that CANNOT be deleted from Chart of Accounts? Solved
accounting customization quickstart 13.0
Avatar
1
Jan 25
5973
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now