Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

Create new values on csv upload when there is no matching value no longer works after upgrade to v17

Odebírat

Get notified when there's activity on this post

This question has been flagged
importingbugv17
1 Odpovědět
3736 Zobrazení
Avatar
Colin Worf

I believe this is a bug because it used to work fine on v16. but maybe im doing something wrong

My specific situation is, uploading a file into the product import form I have a few items which contain new attribute values. the attribute and values fields I am trying to use here are  ' Product Attributes / Attribute' and 'Product Attributes / Values'

I click test, and as expected a red box appears allowing me to choose what should happen when a value cannot be matched. I select "Create new values"

then upon import, I receive the same blocking error, even though create new values is already selected. in order to move forward I have to go add the attribute values into the color attribute.

Am I using the wrong field(s) for this functionality? 

2
Avatar
Zrušit
Colin Worf
Autor

Ive since discovered more information about this issue, here's a full report:

Environment:

Odoo version: 17
Clean Install no added modules

Steps to Reproduce:

-Prepare a CSV file for product import with columns for "product attributes / attribute" and "product attributes / values".
-Go to the product import interface in Odoo.
-Upload the CSV file and map the columns appropriately.
-Set the system to create non-existent attributes during the import. said attributes should be instant variant creating attributes
-Initiate the import process.

Expected Result:

-The system should create non-existent attributes and values specified in the CSV.
-Product variants should be automatically created based on the attributes.

Actual Result:

The import process fails with an error due to non-existent attribute values.
After manually creating attributes, the products are created but variants are not automatically generated.
In the product form, the 'Configure' option next to attribute lists shows an empty table despite having several attribute values listed.

Workaround:

Deleting the products and re-uploading the CSV with the attribute values field renamed to "attribute_line_ids/value_ids" (still mapped to the same field "Product Attributes / Values") surprisingly works and imports correctly.

There seems to be an inconsistency in how the system handles the mapping of attribute fields during the import process.

Anton

I'm trying to do the same, except for creating new variants of a product, and getting the same blocking error even though I've selected "Create new values".

Having to manually create all the variants is very time intensive and is not really feasable for companies that have a lot of products, when you can easily create new products on import if you don't use variants.

Avatar
Cybrosys Techno Solutions Pvt.Ltd
Nejlepší odpověď

Hi,


You are experiencing a limitation in Odoo’s product import when dealing with product attributes and values. While the fields Product Attributes / Attribute and Product Attributes / Values are correct, and selecting “Create new values” during the test step should allow Odoo to create missing values, the import fails if the attribute itself does not already exist in the database. This differs from older versions like v16, where the system was sometimes more lenient. Essentially, Odoo expects the attribute record to exist first, and the auto-creation option only works for values under that attribute.


To work around this limitation, it is recommended to pre-create all necessary attributes before importing the values. Another approach is to split the import into two steps: first import the attributes, then import the products with their values. Additionally, ensure there are no typos or invisible characters in the attribute names or values, as these can prevent auto-creation. The behavior you are seeing is a known limitation in newer Odoo versions, not an error in your workflow.


Reference:-


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


- https://www.odoo.com/documentation/19.0/applications/sales/sales/products_prices/products/import.html


Hope it helps

0
Avatar
Zrušit
Enjoying the discussion? Don't just read, join in!

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
Odoo 17 no sirve para Chile
bug failing Chile v17
Avatar
Avatar
Avatar
Avatar
4
čvc 25
2863
odoo 17, can't import Wysiwyg Vyřešeno
importing wysiwyg JS v17
Avatar
Avatar
2
čvn 25
3998
Odoo 17 Sale Order PDF Template Bug
pdf sale bug v17
Avatar
Avatar
Avatar
Avatar
Avatar
6
pro 24
5304
Ya es posible hacer Upgrade de v17 a v17.1 ?
v17
Avatar
Avatar
1
říj 25
1280
How to add a new Many2one field in res.config.settings? Vyřešeno
v17
Avatar
Avatar
Avatar
Avatar
4
říj 25
3671
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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