Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Diskusi
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Estate Management
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

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

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

Import of products and Bom

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
2 Replies
1800 Tampilan
Avatar
Damien

I'm currently importing products into Odoo 18, followed by a Bill of Materials (BoM) import using External IDs. However, I'm encountering the following error:

"Invalid external ID import.400034: expected model 'product.product', found 'product.template'"

What I’ve Tried

  • When importing products, Odoo correctly creates product.template records.
  • According to the official documentation and community threads (e.g., -->odoo.com/forum/help-1/producttemplate-vs-productproduct-94430), a corresponding product.product should be automatically generated for each template.
  • However, in my case, this automatic creation doesn't seem to happen — or at least it's not visible for linking via external ID.

Troubleshooting Steps Attempted

  1. Re-exported the products after import to check for the product.product external IDs — but only product.template entries are exported. External IDs are the one I set (__import__.XXXX)
  2. Tried importing with and without enabling variants — the result is the same.
  3. Verified that the product shows up in the UI, but BoM import still fails due to the mismatch in expected model.


  • Why is the product.product record not being generated or not linked via external ID?
  • How can I correctly import BoMs using external IDs that reference the product variant (product.product) instead of just the template?

I've scouted the depth of the internet to find a solution, there are no clear answer. ChatGPT 4.5 is as lost as I am.

What is the correct way to import product and bom, I can't link by name as there duplicated names with different ids, those are data extracted from SAP with over 10'000 products and 30'000 bom entries.


Any clarification or recommended workflow would be appreciated.



0
Avatar
Buang
Christoph Farnleitner

It would probably be beneficial if you'd add a trimmed down version of your import files showing the header and relevant data for an example dataset.

Avatar
Damien
Penulis Jawaban Terbai

Hi Christoph,

Thank you, the missing part was to export with the Product_variant_ids/id column as you put in your screenshot.

It seem easier to import variants directly, you mentioned " if this works for your product structure", what are are the drawback of doing so ?

0
Avatar
Buang
Christoph Farnleitner

Unless you're using Product Templates with actual Variants (1 Template with Attributes that lead to variations of that Product) it doesn't matter at all. Otherwise it might be a bit of hassle to actually create Variants that belong together.

Avatar
Christoph Farnleitner
Jawaban Terbai

In general, there can't be a product.template without at least one product.product (Product Variant) assigned to it - even if there are no Attributes involved at the Product Template creation. However, if you actually import Product Templates with an External ID, this ID is not the same as the external ID of the Product Variant as it is stored as a separate record. You will have to explicitly export your Product Variants, or add the Variants' external IDs to the Product Template export:


Highlighted in yellow, this is the data Odoo expects you to use when importing Variant-specific data in a second step:


This is, because a Product Template is not specific enough (for example due to Attributes) and only the actual Product Variant defines what 'real' Product to deal with.


You can however also directly import Product Variants, rather than Product Templates, if this works for your product structure. This way, the external ID given to a line is already the one you will need for importing BOM lines (just ensure you have Product Variants enabled in the Settings to see that Menu point i.e. in Manufacturing -> Products -> Product Variants)


0
Avatar
Buang
Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Tugas
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة 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 adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

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