Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • Apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

Importing products with & without product variants

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
importinventoryproduct.productvariantsproduct.template
5 Besvarelser
18220 Visninger
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
Kassér
Avatar
Frédéric Gilson (fgi)
Bedste svar

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
Kassér
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
Bedste svar

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
Kassér
Avatar
Kelleys Island General Store
Bedste svar

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

0
Avatar
Kassér
Avatar
Karam Jardak
Bedste svar

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

0
Avatar
Kassér
Avatar
Dennis Ochse
Bedste svar

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
Kassér
Enjoying the discussion? Don't just read, join in!

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

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
Best Practice to convert an existing Product Variant to a Standalone Product
product.product variants product.template
Avatar
Avatar
1
jun. 25
1620
Returning to a single attribute on a product template
variant product.product variants attributes product.template
Avatar
0
aug. 24
1978
Import inventory adjustment for product variants Løst
inventory product.product variants adjustment stock.quant
Avatar
Avatar
Avatar
Avatar
3
maj 25
5677
Manage Sale Price At Product Variant Level
price pricelist product.product variants product.template
Avatar
Avatar
4
jan. 21
8383
Product variant data update via data import
import product.product
Avatar
Avatar
Avatar
3
sep. 25
694
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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