Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

Importing products with & without product variants

Naroči se

Get notified when there's activity on this post

This question has been flagged
importinventoryproduct.productvariantsproduct.template
5 Odgovori
18208 Prikazi
Avatar
James Crowley

How do I import products with & without variants in Odoo v11, whilst specifying all the external IDs?

I can import via products.templates.csv and specify attribute_line_ids/attribute_id/id and attribute_line_ids/value_ids/id, but that doesn't let me specify the external ID for the variants.

If I import via product.templates.csv but *don't* specify any variants and instead import them via product.product.csv, then I can specify the external ID for the variants, but I get an additional unwanted variant (with no attributes) automatically generated by the initial import of products.templates.csv with zero variants specified, and a random external ID.

I hope this makes sense? What am I missing?

3
Avatar
Opusti
Avatar
Frédéric Gilson (fgi)
Best Answer

Odoo 12 brings a good solution to that.

1. Create or import your product templates.

2. Configure their attributes with "Variant Creation Mode" set on "Dynamically", ie variants are generated on demand, when requested in sales/ecommerce orders. BTW This mode is useful if you manage custom products that you only purchase or produce on customer request (no preliminary stock). For perf reasons, Odoo suggests to use this mode when the # of attribute combinations is too high.

3. Import product variants with all their specific data (from menu *Products > Product Variants*): related product template, attribute values (only the name or xmlid of the value is needed), internal reference, barcode, image, standard cost. Not the sales price as it is managed through extra costs on product template attributes or through pricelists that you can create or import afterwards.

Odoo will do the correct matching between the attribute values set on the product template and the ones of the variants, when it comes to select a combination in the product configurator of sales and ecommerce apps.

I also stress out the fact that importing variants as such is only needed if you need the product configurator to select variants. Otherwise you can import all your product items as product templates.

 




0
Avatar
Opusti
Stéphane AMAOUA

I cannot import product.product using product_template_attribute_value_ids many2many to specify the variant. It founds the value multiple times when using names

Avatar
Aires Silvestre
Best Answer

Hello

Indeed this issue persists till today.

I need a lot to transfer/migrate products with variants from one Odoo database to another and really need to keep the external identifier (mxlid)) for both product.template and product.product records.

Any idea on how to accomplish this. Is this even possible?

Regards

1
Avatar
Opusti
Avatar
Kelleys Island General Store
Best Answer

I am facing this same issue in v12. Have you found a solution yet?

0
Avatar
Opusti
Avatar
Karam Jardak
Best Answer

I encountered the same problem V11, did you find a solution?

0
Avatar
Opusti
Avatar
Dennis Ochse
Best Answer

I have struggled with this issue aswell. 

Best suggestion I can give you is:

1. Import product templates (incl. attributes and attribute values)

2. Archive all the product variants 

3. Import the product variants and link them to the template in the field 'product_tmpl_id/id'.

You could also skip step 2, and mark you products in step 3. Than you create a filter that will hide all the products imported in step 3 and archive all the visible products, I would also hide all the product variants of products that have no attribute/attribute values.

Maybe it's also wise to prevent attribute values from creating product variants, you can do this in the attribute settings.

0
Avatar
Opusti
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Best Practice to convert an existing Product Variant to a Standalone Product
product.product variants product.template
Avatar
Avatar
1
jun. 25
1608
Returning to a single attribute on a product template
variant product.product variants attributes product.template
Avatar
0
avg. 24
1975
Import inventory adjustment for product variants Solved
inventory product.product variants adjustment stock.quant
Avatar
Avatar
Avatar
Avatar
3
maj 25
5656
Manage Sale Price At Product Variant Level
price pricelist product.product variants product.template
Avatar
Avatar
4
jan. 21
8380
Product variant data update via data import
import product.product
Avatar
Avatar
Avatar
3
sep. 25
684
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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