Skip to Content
Odoo Меню
  • Увійти
  • Спробуйте це безкоштовно
  • Додатки
    Фінанси
    • Бухоблік
    • Виставлення рахунку
    • Витрати
    • Електронні таблиці (BI)
    • Документи
    • Підпис
    Продажі
    • CRM
    • Продажі
    • POS Магазин
    • POS Ресторан
    • Підписки
    • Оренда
    Веб-сайти
    • Конструктор веб-сайту
    • Електронна комерція
    • Блог
    • Форум
    • Живий чат
    • Електронне навчання
    Ланцюг поставок
    • Склад
    • Виробництво
    • PLM
    • Купівлі
    • Технічне обслуговування
    • Якість
    Кадри
    • Співробітники
    • Рекрутинг
    • Відпустки
    • Оцінювання
    • Рекомендації
    • Автотранспорт
    Маркетинг
    • Маркетинг соцмереж
    • Email-маркетинг
    • SMS-маркетинг
    • Події
    • Автом. маркетингу
    • Опитування
    Послуги
    • Проект
    • Табелі
    • Виїзне обслуговування
    • Служба підтримки
    • Планування
    • Призначення
    Продуктивність
    • Обговорення
    • Схвалення
    • IoT
    • IP-телефонія
    • База знань
    • WhatsApp
    Сторонні модулі Odoo Studio Платформа Odoo Cloud
  • Сфери
    Роздрібна торгівля
    • Книжковий магазин
    • Магазин одягу
    • Магазин меблів
    • Продуктовий магазин
    • Магазин будівельних матеріалів
    • Магазин іграшок
    Food & Hospitality
    • Бар та паб
    • Ресторан
    • Фастфуд
    • Guest House
    • Дистриб'ютор напоїв
    • Hotel
    Нерухомість
    • Real Estate Agency
    • Архітектурна фірма
    • Будівництво
    • Управління нерухомістю
    • Садівництво
    • Асоціація власників нерухомості
    Консалтинг
    • Бухгалтерська компанія
    • Партнер Odoo
    • Агенція маркетингу
    • Юридична фірма
    • Придбання Талантів
    • Аудит та сертифікація
    Виробництво
    • Textile
    • Metal
    • Меблі
    • Їжа
    • Brewery
    • Корпоративні подарунки
    Здоров'я & Фітнес
    • Спортивний клуб
    • Оптика
    • Фітнес-центр
    • Практики здоров'я
    • Аптека
    • Салон краси
    Trades
    • Ремонтник
    • IT-обладнання та Підтримка
    • Системи сонячної енергії
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Інші
    • Nonprofit Organization
    • Екологічна агенція
    • Оренда білбордів
    • Фотографія
    • Лізинг велосипедів
    • Реселлер програмного забезпечення
    Browse all Industries
  • Спільнота
    Навчання
    • Навчальний посібник
    • Документація
    • Сертифікації
    • Тренування
    • Блог
    • Подкаст
    Сприяйте Освіті
    • Програма навчання
    • Бізнес гра Scale Up!
    • Відвідайте Odoo
    Отримайте програмне забезпечення
    • Завантаження
    • Порівняйте версії
    • Релізи
    Співпрацюйте
    • Github
    • Форум
    • Події
    • Переклади
    • Стати партнером
    • Services for Partners
    • Зареєструйте вашу бухгалтерську фірму
    Отримайте послуги
    • Знайдіть партнера
    • Знайдіть бухгалтера
    • Зустріньтеся з консультантом
    • Послуги з впровадження
    • Референси клієнтів
    • Підтримка
    • Оновлення
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Отримати демо
  • Ціни
  • Допомога

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

  • CRM
  • e-Commerce
  • Бухоблік
  • Склад
  • PoS
  • Проект
  • MRP
All apps
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
All Posts Люди Значки
Мітки (View all)
odoo accounting v14 pos v15
Про цей форум
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
All Posts Люди Значки
Мітки (View all)
odoo accounting v14 pos v15
Про цей форум
Допомога

Importing products with & without product variants

Підписатися

Отримуйте сповіщення про активність щодо цієї публікації

Це запитання позначене
importinventoryproduct.productvariantsproduct.template
5 Відповіді
18241 Переглядів
Аватар
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
Аватар
Відмінити
Аватар
Frédéric Gilson (fgi)
Найкраща відповідь

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
Аватар
Відмінити
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

Аватар
Aires Silvestre
Найкраща відповідь

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
Аватар
Відмінити
Аватар
Kelleys Island General Store
Найкраща відповідь

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

0
Аватар
Відмінити
Аватар
Karam Jardak
Найкраща відповідь

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

0
Аватар
Відмінити
Аватар
Dennis Ochse
Найкраща відповідь

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
Аватар
Відмінити
Enjoying the discussion? Don't just read, join in!

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

Реєстрація
Related Posts Відповіді Переглядів Дія
Best Practice to convert an existing Product Variant to a Standalone Product
product.product variants product.template
Аватар
Аватар
1
черв. 25
1642
Returning to a single attribute on a product template
variant product.product variants attributes product.template
Аватар
0
серп. 24
1990
Import inventory adjustment for product variants Вирішено
inventory product.product variants adjustment stock.quant
Аватар
Аватар
Аватар
Аватар
3
трав. 25
5708
Manage Sale Price At Product Variant Level
price pricelist product.product variants product.template
Аватар
Аватар
4
січ. 21
8385
Product variant data update via data import
import product.product
Аватар
Аватар
Аватар
3
вер. 25
744
Спільнота
  • Навчальний посібник
  • Документація
  • Форум
Open Source
  • Завантаження
  • Github
  • Runbot
  • Переклади
Послуги
  • Хостинг Odoo.sh
  • Підтримка
  • Оновлення
  • Кастомні доробки
  • Навчання
  • Знайдіть бухгалтера
  • Знайдіть партнера
  • Стати партнером
Про нас
  • Наша компанія
  • Торгові активи
  • Зв'яжіться з нами
  • Вакансії
  • Події
  • Подкаст
  • Блог
  • Клієнти
  • Юридичні документи • Конфіденційність
  • Безпека
الْعَرَبيّة 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 - це набір програм для роботи з відкритим кодом, які охоплюють всі ваші потреби компанії: CRM, електронна комерція, бухгалтерський облік, склад, точка продажу, управління проектами тощо.

Унікальна пропозиція 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