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

My customer external id conflicts with my product external id

Subscribe

Get notified when there's activity on this post

This question has been flagged
contactsproductsimporting data from excel file
2 Replies
2882 Views
Avatar
Bruno S

Good morning,

I have odoo online.

I am in my data import phase.

I took my product list from an already existing application with the id corresponding to this application.

I imported my list of products including the id and therefore I imported as an external id.

Everything went well. I now want to import my customer base.

And I have the following message for some clients "when trying to create/update a record of model res.partner found record of different model product.template". 

My customer external id conflicts with my product external id.

For me the external ids are specific to each table, so why this conflict?

Thank you in advance for your response.

Excellent day.

0
Avatar
Discard
Avatar
Thuy Ngoc
Best Answer

Hi  SCOCARD Bruno,

Odoo only uses one table to manage external ids, so if you want to create new records, please do not fill in the value in the external id column so that Odoo can generate the external id itself. Filling in the external id is only really useful in the case of updating data for existing records.

1
Avatar
Discard
Avatar
Bruno S
Author Best Answer

Hi Thuy Ngoc,

Thank you very much for this response.

But in this case, how can I import orders for example and relate them to the products and customers already imported?


So I created an external id like this based on the original software ids:

- for a customer with the original id 370, in external id, I put contact_370 which ultimately gives __import__.contact_370

- for a product with the original id 370, in external id, I put product_370 which ultimately gives __import__.product_370

-For an order with the original id 370, in external id, I put order_370 which ultimately gives __import__.order_370

So I have no conflict and I thought I would keep the relationships between each element.


Regards

0
Avatar
Discard
Thuy Ngoc

Hi SCOCARD Bruno,

This case is a bit strange. Can you take a photo or video describing the steps you took to import?

Bruno S
Author

I am referring to the Odoo documentation.

https://www.odoo.com/documentation/16.0/applications/general/export_import_data.html

What’s the difference between Database ID and External ID?

Thuy Ngoc

Regarding this difference, Odoo explains right in the article at the link above in paragraph:
"For the country Belgium, you can use one of these 3 ways to import:

Country: Belgium

Country/Database ID: 21

Country/External ID: base.be"

To reproduce your case more specifically, can you create a few google sheets to fill in some lines of data that you use to import?

Bruno S
Author

Hi Thuy Ngoc,
After a few days of reflection, we decided not to go any further with the import. This is to be able to make maximum use of Odoo’s possibilities.
So with the product and customer databases imported, all the subscription documents etc. we will recreate them.
So thank you for your help.
Regards

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
Importing multiple Products via csv
products importing data from excel file
Avatar
Avatar
Avatar
3
Apr 22
3474
how to import customer contacts odoo 10.0
contacts importing data from excel file
Avatar
Avatar
1
Feb 17
14859
Common Product Catalogue and Contact for multi company in Odoo 13 Solved
contacts multicompany products Odoo13.0
Avatar
Avatar
1
Dec 19
6021
importing contacts. Getting blocking error: Contacts require a name at multiple rows
contacts
Avatar
Avatar
Avatar
2
Oct 25
1093
Blocking Errors
contacts
Avatar
Avatar
1
Oct 25
860
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