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
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Contact Management
  3. Contact Search by Phone v 16.0
  4. Sales Conditions FAQ

Contact Search by Phone

by Technology Pill Business Solution https://www.tecpill.com
Odoo
v 16.0 Third Party 19
Download for v 16.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Contacts (contacts)
• Discuss (mail)
• Invoicing (account)
Lines of code 334
Technical Name contact_search_by_phone
LicenseLGPL-3
Websitehttps://www.tecpill.com
Versions 16.0 17.0 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Contacts (contacts)
• Discuss (mail)
• Invoicing (account)
Lines of code 334
Technical Name contact_search_by_phone
LicenseLGPL-3
Websitehttps://www.tecpill.com
Versions 16.0 17.0 18.0 19.0

Contact Search by Phone

Search contacts instantly using phone or mobile numbers with smart normalization and fast performance.

🆕 Module Highlights

  • Search contacts by full or partial phone number
  • Automatic phone normalization (removes spaces, dashes, parentheses)
  • Works with any format: (828)-316-0593, 828-316-0593, 8283160593
  • Lightning-fast search with PostgreSQL indexes
  • Optional phone uniqueness enforcement
  • Prefix and suffix search support
Search by Phone Number
Phone Search Results
Contact Found
Configuration Settings

Key Features

🔍 Smart Phone Search

  • ✓ Type any phone number format to find contacts
  • ✓ Search by full number: 8283160593
  • ✓ Search by partial: 828, 828316
  • ✓ Works with dashes: 828-316-0593
  • ✓ Works with parentheses: (828)-316-0593
  • ✓ International formats supported

⚡ Lightning Performance

  • ✓ PostgreSQL text_pattern_ops indexes for instant search
  • ✓ Stored computed fields (phone_clean, mobile_clean)
  • ✓ Reversed fields for suffix search
  • ✓ Works with millions of contacts
  • ✓ No performance degradation

🛡️ Data Integrity

  • ✓ Optional phone uniqueness enforcement
  • ✓ Prevent duplicate numbers
  • ✓ NULL-safe and empty-safe constraints
  • ✓ Detects duplicates across formats
  • ✓ Configurable via Settings

⚙️ Flexible Configuration

  • ✓ Settings accessible in General Settings
  • ✓ Minimum digits for search trigger (default: 3)
  • ✓ Enable/disable uniqueness checking
  • ✓ Show phone in search results dropdown
  • ✓ Strip leading zero option (Gulf/Saudi numbers)
  • ✓ No complex configuration needed

How It Works

📞 Phone Normalization

The module automatically normalizes all phone numbers:

  • (828)-316-0593 → 8283160593
  • 055 123 4567 → 551234567 (with strip leading zero enabled)
  • 00966-55-123-4567 → 966551234567

Removes all spaces, dashes, parentheses, and handles international prefixes (00). Leading zero stripping is configurable for regional needs.

🎯 Smart Search Priority

  1. Exact Match: Finds exact normalized number
  2. Prefix Match: Finds numbers starting with search term
  3. Suffix Match: Finds numbers ending with search term
  4. Name Fallback: Standard name search if not a phone number

Use Cases

  • 📞 Call Centers: Find customer records instantly when they call by typing their phone number.
  • 💼 Sales Teams: Quickly lookup leads and opportunities using mobile numbers from business cards.
  • 🛒 E-commerce: Search for orders and customers using phone numbers during customer support.
  • 🏥 Healthcare: Find patient records by phone number for appointment scheduling.
  • 🏨 Hospitality: Search reservations and guest profiles using contact numbers.
  • 🚚 Logistics: Locate delivery addresses and customer details via phone lookup.
  • 📱 CRM Systems: Universal contact search across all modules using phone numbers.

Installation & Configuration

📦 Installation

  1. Install from Odoo Apps Store or upload manually
  2. Click Install - all dependencies are automatic
  3. Module is ready to use immediately
  4. Existing phone numbers are automatically normalized

⚙️ Configuration

Navigate to: Settings → General Settings → Contact Search by Phone

  • Minimum Digits: Set how many digits trigger phone search (default: 3)
  • Enforce Unique Phones: Enable to prevent duplicate phone numbers
  • Show Phone in Search: Display phone number alongside contact name
  • Strip Leading Zero: Remove leading 0 from numbers (e.g., 0551234567 → 551234567)

🔧 Technical Requirements

  • ✓ Odoo 18.0
  • ✓ PostgreSQL 12+ (for text_pattern_ops indexes)
  • ✓ contacts module (base dependency)
  • ✓ No external libraries required

Usage Guide

How to Search by Phone

  1. Go to any contact selection field (Customer, Vendor, Partner, etc.)
  2. Type a phone number - full or partial
  3. Example searches:
    • 828 - finds all numbers starting with 828
    • 8283160593 - finds exact number
    • 828-316 - normalized automatically
    • (828)-316-0593 - any format works
  4. Contact appears instantly in dropdown
  5. Select the contact to proceed

Search Examples

Search Term Finds
055 All numbers starting with 055
0551234567 Exact number 0551234567
4567 Numbers ending with 4567
+966 55 123 4567 Normalized to 966551234567

Benefits

⏱️ Save Time

Find contacts in seconds instead of minutes. No more scrolling through long lists or remembering exact name spellings.

📈 Improve Productivity

Call center agents, sales teams, and support staff can handle more customers per hour with instant phone lookup.

🎯 Reduce Errors

Automatic normalization prevents duplicate contacts with different phone formats. Maintain clean data integrity.

💰 Better ROI

Increase customer satisfaction with faster response times. Reduce training time for new employees.

Testing

✅ Comprehensive Test Coverage:

  • 53 automated tests included
  • Phone normalization tests (15 tests)
  • Search functionality tests (17 tests)
  • Uniqueness constraint tests (11 tests)
  • Strip leading zero tests (10 tests)
  • Run tests: ./odoo-bin -c odoo.conf -d dbname -u contact_search_by_phone --test-enable

Support & Credits

For support and assistance with this module, please contact the development team.

Author: TecPill Business Solutions
Maintainer: Sayed Ameen
Website: https://www.tecpill.com
License: LGPL-3
Version: 18.0.2.0.4

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
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

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