Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Bricoleur
    • Matériel informatique & support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Parcourir toutes les industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services pour partenaires
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

I'm trying to export data from Odoo 18 to import to 19. But I have problems importing variants with the products.

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
productsvariantsattribute
1 Répondre
1084 Vues
Avatar
Jan Hanna

I have exported and imported all attributes and values successfully.


To test, I tried exporting a product with variants in Odoo 19 then re-import it again (deleted the product first) but i have problems with Attribute values.


My attributes are

Size

And the values for this attribute is-

S,M,L.


When i export, the values are like this:

attribute_line_ids/product_template_value_ids
Size: S
Size: M
Size: L

And i get the error when importing:

No matching record found for name 'Size: S' in field 'Product Attributes/Product Attribute Values/Attribute Value'


Because the attribute value "Size: S" does not exist.

What exists is 

S


So during export, If i uncheck 

I want to update data (import-compatible export)


I can find this:

Product Attributes/Values/Value

This will give me the correct attribute values.

S

M

L


(and not Size: S...)

and the import is successful.


I tried exporting everything under Attribute and all values are Size: S and not S.

This isn't working during import.


But i want to export with external ID to get a proper import in to the next instance of Odoo.


0
Avatar
Ignorer
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Meilleure réponse

Hi,

This issue happens because Odoo’s export and import formats for product attributes and their values are not fully compatible. When you export products with variants, Odoo shows each attribute value in the form “Attribute: Value” (for example, “Size: S”), but during import, Odoo only recognizes the value name (like “S”) or the external ID of that attribute value. Since the system doesn’t find a record called “Size: S”, it raises the “No matching record found” error. To solve this, the correct approach is to first export and import all product attributes and values separately, ensuring they have proper external IDs in both databases. Once those records exist in the target database, you can export the products again using “I want to update data (import-compatible export)” mode, which gives you import-friendly column names like “Product Attributes / Values / Value” instead of “attribute_line_ids/product_template_value_ids.” This makes Odoo use “S, M, L” rather than “Size: S, Size: M, Size: L.” You can then import the product file successfully. In short, the reliable process is: (1) export and import attributes and values with external IDs first, (2) export products using import-compatible format, and (3) ensure both environments share the same external IDs so the system can match records automatically.


Refer:

1. https://www.odoo.com/documentation/18.0/applications/essentials/export_import_data.html

2. https://www.cybrosys.com/blog/how-to-import-product-attributes-and-product-variants-in-odoo-17


Hope it helps.

0
Avatar
Ignorer
Jan Hanna
Auteur

Thank you very much. After a few days of trying, this solved my issue.

Do you know how to import Internal reference for each variant? I tried but can't get it working.
I also cannot export the external ID for each product variant. Otherwise i could just import data for each variant if i had the external ID for the variants.

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
How to Link Product Images to Colors While Maintaining Separate Listings in the "All Products" Section
products variants
Avatar
Avatar
Avatar
Avatar
3
juil. 25
4033
Allow selection of multiple values from a single attribute of a product's variant Résolu
products variants
Avatar
Avatar
Avatar
Avatar
3
sept. 24
4749
Did anyone notice a different behavior in the Products Variant configuration since the release 14?
products variants
Avatar
Avatar
1
nov. 20
3669
Show product variants on one line (sizes)
orders products variants
Avatar
Avatar
1
janv. 25
993
How can I add Variant values to my variant
values products variants
Avatar
Avatar
Avatar
2
sept. 24
2815
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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