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 to Combine Two Databases in Odoo (Same Version)

Subscribe

Get notified when there's activity on this post

This question has been flagged
databasemerge17
2 Replies
1189 Views
Avatar
Kuralarasan

 Hi,

I’m looking for guidance on how to combine two Odoo databases (both on the same Odoo version). 

The use case is to merge data from two separately running instances into a single one ideally preserving customers, products, sales orders, inventory, etc.

Some key points I need help with:

* What's the recommended approach for merging two Odoo databases?

* Can this be done through Odoo's built-in import/export tools, or do I need to use custom scripts?

* Are there any best practices or risks I should be aware of (e.g., handling duplicate IDs, conflicts in sequences, etc.)

* Is there a way to merge selected models (e.g., only customers and products) without affecting the rest of the target database?

Both databases are running on Odoo 17 enterprice, and both have similar modules installed.

Any guidance, tools, or experiences you can share would be greatly appreciated!

Thanks in advance .

0
Avatar
Discard
Avatar
Gautam
Best Answer

Hi,

Merging two Odoo databases (even of the same version) is possible but requires careful planning. Unfortunately, Odoo does not provide a built-in tool to merge databases automatically — it typically needs to be done manually or using custom scripts.

If you're not comfortable handling this process yourself, you can consider reaching out to Odoo partners like Kanak Infosystems LLP, who offer professional services for database merging, migration, and customization. They can help ensure that your data is consolidated safely and efficiently without breaking dependencies.

Let me know if you need a high-level guide or checklist for the manual merge process.

Thanks!

2
Avatar
Discard
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

Hi,


Merging two Odoo databases, even when running the same version, is a complex task, and there is no official one-click solution. However, various proven strategies can help you combine data intelligently depending on your needs.


1. Export / Import Selected Data (Simplest):

           - Selectively merging Customers, Products, Sales Orders without disturbing existing data.

   Use built-in CSV/XML export/import:


    Export key models (e.g., res.partner, product.template, product.product, sale.order, account.move).


    Before import, clean and remap IDs, ensuring any references (like partner_id) are updated.


2- Multi-Company Consolidation (Alternative)

           - If the ultimate goal is combining companies rather than merging historical data:                                         - Configure one database as a multi-company instance.

                           - Migrate one DB’s data first.

                           - Then import the other DB’s customers, products, and transactions into the same company structure.

                           - Still requires export/import or scripting, but uses Odoo’s native multi-company architecture.



NOTE:-

           - Back up both databases completely using pg_dump or Odoo tools.

           - Set up a test environment and run the entire merge flow there first.

           - Never operate directly on live databases without tested backups.


Hope it helps

-3
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
Odoo 17 one2many lines issue
17
Avatar
Avatar
Avatar
Avatar
3
Jun 25
3244
Change resume view Solved
17
Avatar
Avatar
Avatar
Avatar
4
Jul 25
1769
Database disappeared from list after activating Google Oauth for administrator
database
Avatar
0
Jul 25
2321
Setup Odoo with specific database
database
Avatar
Avatar
2
Nov 24
8578
Error Loading Custom Odoo Website Snippet: 'View website_video_block in website 1 not found' - Assistance Needed with XML Template Registration
17
Avatar
Avatar
1
Nov 24
2313
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