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
    • Property 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. Services
  3. MarketTime Odoo Integration v 18.0
  4. Sales Conditions FAQ

MarketTime Odoo Integration

by Pragmatic TechSoft Pvt Ltd. http://pragtech.co.in
Odoo

$ 350.00

v 18.0 Third Party
Live Preview
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)
• Inventory (stock)
• Sales (sale_management)
• Discuss (mail)
• Invoicing (account)
Lines of code 1792
Technical Name pragtech_markettime_integration
LicenseOPL-1
Websitehttp://pragtech.co.in
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)
• Inventory (stock)
• Sales (sale_management)
• Discuss (mail)
• Invoicing (account)
Lines of code 1792
Technical Name pragtech_markettime_integration
LicenseOPL-1
Websitehttp://pragtech.co.in
Versions 16.0 17.0 18.0 19.0
  • Description
  • License

Compatible with Odoo v16 -v19 Community & Enterprise

  • Overview
  • Features
  • Screenshots
  • Why Us
  • FAQ's
  • Support

Sync MarketTime seamlessly with Odoo

The MarketTime integration app delivers bidirectional, real-time synchronization between MarketTime's sales order platform and Odoo 16 ERP, perfect for wholesale and manufacturing businesses managing reps, orders, catalogs and inventory. It automates data flows for products, customers (with up to 250 ship-to addresses), and smart order imports via a review wizard, using incremental sync on modified timestamps to keep everything current without duplicates. With intelligent matching (exact, fuzzy 90%+, or new creation), multi-address support, sales team mapping and a user-friendly dashboard for stats, it eliminates manual entry, ensures accuracy and unifies field sales with ERP operations.

Sell wholesale using MarketTime. Run operations on Odoo


Features that Keep Data Clean


Incremental Sync with MarketTime API

Only records modified since the last import are fetched, ensuring faster imports, lower API load and no repeated data processing.

Batch Imports with Safe Limits

Products, customers and orders are imported in configurable batches, allowing large datasets to be handled reliably without performance issues.

Intelligent Customer Matching

Customers are matched using MarketTime IDs first, then phone numbers, and finally fuzzy address matching at a calibrated 90% threshold — reducing duplicates while keeping human control where it matters.

Order Review Wizard

Before orders touch Odoo, users can review, validate customer matches and selectively import orders — preventing incorrect data from entering the system.

Automatic Record Creation

Missing products or customers are created automatically during order import, ensuring sales teams are never blocked by incomplete master data.

Multi-Address Customer Support

Handles up to 250 ship-to addresses per customer with proper parent-child structure, reflecting real wholesale and distributor relationships.

Duplicate Prevention Built In

MarketTime IDs, normalized SKUs and PO number checks prevent duplicate products, customers and orders across imports.

Sales Team & RepGroup Mapping

Orders are automatically assigned to the correct Odoo sales teams based on MarketTime RepGroup IDs, keeping reporting and ownership accurate.

Robust Error Handling & Logging

From API timeouts to record-level issues, errors are logged clearly and imports continue safely wherever possible.

Import Statistics Dashboard

Created, updated and skipped records are tracked and displayed, giving teams full visibility into every sync operation.

Real-time MarketTime API Integration
Incremental Sync Using Modified Dates
Batch Import Capabilities
Comprehensive Logging & Error Handling
Automatic Product & Customer Creation
Multi Ship-to & Bill-to Address Support
Duplicate Prevention System
Payment Terms & Shipping Method Sync
Intelligent Customer Matching
Sales Team Mapping via RepGroup
Order Review Wizard Before Import
Natural Sorting of Order Lines
User-Friendly Dashboard
Complete Integration Solution

Module Installation
Configuration
Import Settings
Data Import Features
Advanced Features
Testing & Troubleshooting

Module Installation

Step 1: Download the Module

Download the marketime_integration module folder and place it inside your Odoo addons directory.

Step 2: Update Apps List
  1. Login to Odoo as Administrator
  2. Go to the Apps menu
  3. Click on Update Apps List (Enable Developer Mode if required)
  4. Click Update in the confirmation dialog
Step 3: Install the Module
  1. Remove the "Apps" filter from the search bar
  2. Search for MarketTime Integration
  3. Click Install
  4. Wait for the installation to complete

Python Dependencies Installation

After installing the module, install the required Python libraries by running the following command on your Odoo server:

pip install requests rapidfuzz --break-system-packages

Note: The --break-system-packages flag is required for standard Odoo system installations. If you are using a virtual environment, this flag can be omitted.

Post-Installation Configuration

  1. Go to Settings → Companies → Your Company
  2. Open the MarketTime Integration tab
  3. Enable MarketTime Integration
  4. Enter your MarketTime API credentials
  5. Click Test Connection to verify

API Configuration

To configure the MarketTime API connection, navigate to:

Settings → Companies → Your Company → MarketTime Integration
Configuration Fields
Field Name Description Required
Enable MarketTime Integration Master toggle to enable or disable the integration. Yes
MarketTime API URL Base URL for the MarketTime API (default value provided). Yes
API Key Your MarketTime API key (stored securely as a password field). Yes
MarketTime ID (WhoAmI) Your MarketTime ID (e.g., M12088R2403 or R12345). Yes
Manufacturer ID Optional Manufacturer ID if applicable. No
RepGroup ID RepGroup ID used for customer filtering (e.g., R12345). No
Enable Auto Sync Enable automatic scheduled synchronization. No

Import Settings

Configure batch sizes and behavior for each import type to optimize performance and API usage.

Setting Default Value Description
Products Batch Size 50 Number of products to fetch per import (maximum 100).
Customers Batch Size 50 Number of customers to fetch per import (maximum 50).
Orders Batch Size 50 Number of orders to fetch for review (maximum 100).
Important

The module uses incremental synchronization based on dateModified timestamps. Each import fetches only the records modified since the last successful import, ensuring faster performance and reduced API load.

MarketTime Import Features

The MarketTime Integration module provides three structured import mechanisms, each designed with performance, data accuracy, and scalability in mind.

Products Import

Purpose: Import product catalog from MarketTime into Odoo.

Key Features
  • Batch processing (default: 50, max: 100)
  • Incremental sync using dateModified
  • Automatic product creation & updating
  • Duplicate prevention using MarketTime ID
  • Fallback matching by SKU (normalized matching)
  • Case-insensitive SKU comparison (ignores spaces & hyphens)
  • Automatic commit every 200 records
Import Process
  1. Navigate to Settings → Companies → Your Company → MarketTime Integration
  2. Set Products Batch Size (recommended: 50 for first import)
  3. Click "Import Products"
  4. System fetches products modified since last import
  5. View progress (Created / Updated / Skipped)
  6. Repeat import for large catalogs if required
Best Practice: Always import Products before Customers and Orders.

Customers Import

Purpose: Import customers with billing and shipping structures.

Key Features
  • Batch processing (default: 50, max: 50)
  • Incremental sync using dateModified
  • Up to 250 Ship-To addresses per customer
  • Multiple Bill-To addresses support
  • Hierarchical parent-child address structure
  • Duplicate prevention using MarketTime ID
  • State & country mapping
  • Automatic commit every 50 records
Address Handling
  • Main Customer: Parent partner with MarketTime ID
  • Ship-To: Child contact (type="delivery")
  • Bill-To: Child contact (type="invoice")
  • Matching: By phone or full address to prevent duplicates

Orders Import

Purpose: Import sales orders with intelligent customer matching.

Key Features
  • Order Review Wizard for selective import
  • Exact & Fuzzy customer matching (90%+ similarity)
  • Visual status indicators (Green / Orange / Red)
  • Manual customer selection for fuzzy matches
  • Automatic creation of missing products & customers
  • Payment terms synchronization
  • Shipping method tracking
  • Sales team mapping via RepGroup
  • PO Number duplicate prevention
Import Process
  1. Click "Import Orders"
  2. Review orders in the Order Review Wizard
  3. Check customer match status (color indicators)
  4. Select orders to import
  5. Click "Import Selected Orders"
  6. Orders are created as draft Quotations
  7. Review & confirm in Odoo Sales
Customer Match Status
Color Status Description
Green Exact Match Matched by MarketTime ID or phone
Orange Fuzzy Match 90%+ address similarity (manual selection required)
Red New Customer No match found — new customer will be created
Important: Always import Products and Customers before importing Orders to ensure accurate matching and minimize automatic creation.

Intelligent Customer Fuzzy Matching

The module implements a sophisticated three-strategy approach for accurate customer identification.


Strategy 1: Exact Match by MarketTime ID

Matches customers using the MarketTime retailerID. This is the most reliable and preferred matching method.

Strategy 2: Exact Match by Phone Number
  • Removes all non-digit characters
  • Keeps last 10 digits (removes country codes)
  • Compares against stored normalized phone numbers
Strategy 3: Fuzzy Match by Address (90% Threshold)
  • Normalize address (lowercase, remove punctuation & spaces)
  • Filter customers by exact city match
  • Calculate similarity using Levenshtein distance (RapidFuzz)
  • Compare both street and street2 fields
  • +10 score boost if ZIP codes match
  • Select best match if score ≥ 90%
  • Show multiple potential matches for manual selection
Important: The 90% threshold balances false positives and valid variations (e.g., “123 Main St” vs “123 Main Street”). Always review fuzzy matches before importing orders.

Intelligent Batch Processing

Products Import
  • Batch fetch (default: 50)
  • In-memory processing
  • Commit every 200 records
  • Stores last dateModified
  • Resumes automatically on next run
Customers Import
  • Batch fetch (default: 50)
  • Handles up to 250 ship-to addresses
  • Commit every 50 customers
  • Stores last dateModified
Orders Import
  • Fetch for review (default: 50, max: 100)
  • Wizard-based selective import
  • Commit per order
  • Continues even if individual orders fail
  • Updates timestamp after completion
Technical Note: The module uses strategic self.env.cr.commit() calls to ensure data persistence. If interrupted, the next import resumes from the last successful timestamp.

Comprehensive Error Handling

API-Level
  • 60-second timeout handling
  • HTTP status validation
  • Empty response handling
  • JSON parsing protection
  • Rate limiting (0.5s delay)
Record-Level
  • Invalid/missing MarketTime IDs
  • Deleted record handling
  • Missing required fields
  • State & country lookup validation
  • Customer matching safeguards
Import-Level
  • Transaction rollback on critical errors
  • Continue-on-error logic
  • Detailed server logging
  • User-friendly notifications
  • Skipped record statistics

Logging & Debugging

All operations are logged in the Odoo server log with the prefix MARKETTIME.

[2025-01-27 10:15:23,456] INFO markettime_integration models.res_company:
MARKETTIME PRODUCTS: Starting product import
MARKETTIME PRODUCTS: Batch commit - 200 records processed

Connection Testing

After entering your API credentials, always verify the connection before starting imports.

  1. Click the "Test Connection" button
  2. A notification will indicate success or failure
  3. If successful, you will see:
    ✓ Successfully connected to MarketTime API
  4. If failed, verify your API key and network configuration
Troubleshooting:
  • Ensure API key is valid and not expired
  • Verify server has internet connectivity
  • Check API endpoint access: https://publicapi.markettime.com/ping
  • Confirm firewall allows outbound HTTPS requests

Troubleshooting

Issue Solution
Connection test fails Verify API key, check internet connectivity, ensure firewall allows HTTPS to publicapi.markettime.com
Products not importing Check MarketTime ID (WhoAmI), verify products exist in MarketTime, review server logs
Customers import shows 0 created/updated Verify RepGroup ID, check dateModified timestamp, ensure customers were modified recently
Orders wizard shows no orders Ensure orders exist with dateModified greater than last import date and API permissions are correct
Too many fuzzy match results Review and merge duplicate customers in Odoo
Import is very slow Reduce batch size, check CPU/memory resources, verify API latency
Products created without SKU Verify itemNumber exists in MarketTime product data
Duplicate orders created Ensure PO Numbers are unique (orders matched by PO Number)
Address normalization not working Install RapidFuzz: pip install rapidfuzz --break-system-packages
Sales team not assigned Map RepGroup IDs to Sales Teams in Sales → Configuration → Sales Teams

Checking Server Logs

  1. Connect to your Odoo server via SSH
  2. Navigate to the log directory (commonly /var/log/odoo/ or check odoo.conf)
  3. Search for MarketTime entries:
    grep "MARKETTIME" odoo-server.log
  4. Look for ERROR or WARNING level messages

Empower businesses through intelligent, cost-effective solutions

Modern businesses face complex challenges. Our Odoo apps are designed to turn those challenges into opportunities - making your workflows intuitive, efficient and scalable. Crafted to make your business run smoother, faster and smarter.

Experience the difference of solutions built for real business needs, not just features.



1. Can I import historical data from MarketTime?
Yes! Simply clear or adjust the "Last dateModified" timestamps in the configuration to an earlier date (e.g., 2020-01-01), and the next import will fetch all records modified since that date.
2. How do I reset the import to start from the beginning?
In the MarketTime Integration configuration, manually set the "Last Product/Customer/Order Modify Date" fields to an early date like 1970-01-01, then run the import again.
3. What happens if an order import fails halfway through?
The module commits each order individually. Successfully imported orders are saved, and failed orders are skipped with error messages in the import summary. You can retry failed orders by running the import again.
4. How does the module handle product updates?
If a product with the same MarketTime ID already exists, its fields (name, price, SKU) are updated. If not found by MarketTime ID, it checks by SKU (default_code) before creating a new product.
5. Can I import orders without importing products and customers first?
Yes, but it is not recommended. The order import will automatically create missing products and customers, but you will not have the benefit of pre-existing data, ship-to addresses, or fuzzy matching.
6. What is the difference between MarketTime ID and RepGroup ID?
MarketTime ID (WhoAmI) is your account identifier (e.g., M12088). RepGroup ID is an optional filter for customer imports to fetch only customers assigned to a specific sales representative group (e.g., R12345).
7. How does the app handle guest management and guest details?
The "Hotel Management" app includes a guest management system that efficiently handles guest details, ensuring a seamless experience.
8. Can I import from multiple MarketTime accounts?
Yes, but each Odoo company can only be configured with one MarketTime account. To import from multiple MarketTime accounts, create separate companies in Odoo (multi-company setup) and configure each independently.

MarketTime Odoo Integration

One-time Setup | 90 Days Support | Multilingual Compatibility


What's included in this

User Manual for Easy Onboarding

90 Days Support (Monday to Friday, 10 AM – 7 PM IST)

One-Time Setup for Seamless Integration


We support for English / French / Spanish at an additional cost

Works & tested on standard installations of Odoo with no third party apps

Free support only for odoo installations with no third party apps

Paid support availaible for Odoo installations with third party apps.

Our Service Offerings

Odoo Dedicated Resources
Odoo Success Packs
Odoo Turnkey Projects

Get Instant Personalized Demo

EMAIL
WHATSAPP
CONTACT

Related Products

Odoo Tours & Travel

Odoo Hostel Management

Odoo Helpdesk

Powerful apps, seamless integrations and expert support.

Optimize your business with our perfect Odoo strategy.
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

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 or have a question related to your purchase, please use the support page.
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