Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Is it possible to easily assign one image to multiple product variants?

Odoberať

Get notified when there's activity on this post

This question has been flagged
productvariant
3 Replies
2423 Zobrazenia
Avatar
Andrew Rogers

I have red, blue, purple and yellow shirts in 7 different sizes. This creates 21 different variants. 

It seems the only way I can assign a blue shirt picture to the blue variant is by going into each of the 7 size variants and uploading the blue shirt image. And then repeating another 14 times for the other two colours (the product template image applies by default so I don't need to do every variant). 

Is that how it is supposed to be done? Is there a better way?

0
Avatar
Zrušiť
Komal

hello,

for that you need a customization.

Avatar
Olivier Degandt
Best Answer

Hello Andrew,

We had the same issue for a client, we created a tool.

You can search the odoo store for :  Variant Photo Manager by Amofordesign
We did it for Odoo 17 , If you need  a different version let me know. 

0
Avatar
Zrušiť
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

Hi,

Method 1: Import File


    Export Product Variants


        Go to Inventory → Products → Products


        Apply filter: Product Type = Product Variants


        Click Export and include:


            External ID (required)


            Image field (or Image URL for web-hosted images)


    Prepare Your Import File


        Use the same image URL/path for all variants sharing an image


        Example: All "Blue Shirt" variants would reference


    Reimport the Updated CSV


        Go to Import Records in the Product list view


        Map the External ID and Image fields


        Validate the import


For a visual guide, refer to:

Odoo Product Image Import Tutorial


Method 2: Automated Assignment via Attribute Values (Technical)


For advanced users, create a custom rule to auto-assign images based on attributes:


    Enable Developer Mode (?debug=1)


    Navigate to Settings → Technical → Actions → Server Actions


    Create a new action with Python code like:


       for variant in records:

             if variant.attribute_value_id.name == "Blue":

                    variant.image_variant_1920 = base64.b64encode(

                     requests.get("https://your-image-url.jpg").content

                 )


Hope it helps

0
Avatar
Zrušiť
Avatar
Ray Carnes (ray)
Best Answer

Did you see https://www.odoo.com/forum/help-1/how-to-import-images-from-the-import-wizard-263848


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

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

Registrácia
Related Posts Replies Zobrazenia Aktivita
Pros and Cons of creating product variants Instantly or Dynamically or Never Solved
product variant
Avatar
Avatar
Avatar
Avatar
3
nov 24
9461
Allow selection of multiple values from a single attribute of a product's variant
product variant
Avatar
Avatar
Avatar
3
sep 24
6750
How to change taxes in product variants?
product variant
Avatar
0
dec 17
4479
Can someone explain how multi-variants work in v7? Solved
product variant
Avatar
Avatar
1
apr 25
5853
What is the best (or correct) project for v7 product variants?
product variant
Avatar
Avatar
1
mar 15
5063
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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