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
    • Textile
    • Kov
    • Nábytek
    • Jídlo
    • Brewery
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • IT hardware a podpora
    • 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
    Browse all Industries
  • 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
    • Services for Partners
    • 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

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

Odebírat

Get notified when there's activity on this post

This question has been flagged
productvariant
3 Odpovědi
2428 Zobrazení
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šit
Komal

hello,

for that you need a customization.

Avatar
Olivier Degandt
Nejlepší odpověď

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šit
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Nejlepší odpověď

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šit
Avatar
Ray Carnes (ray)
Nejlepší odpověď

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


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
Pros and Cons of creating product variants Instantly or Dynamically or Never Vyřešeno
product variant
Avatar
Avatar
Avatar
Avatar
3
lis 24
9471
Allow selection of multiple values from a single attribute of a product's variant
product variant
Avatar
Avatar
Avatar
3
zář 24
6751
How to change taxes in product variants?
product variant
Avatar
0
pro 17
4480
Can someone explain how multi-variants work in v7? Vyřešeno
product variant
Avatar
Avatar
1
dub 25
5860
What is the best (or correct) project for v7 product variants?
product variant
Avatar
Avatar
1
bře 15
5063
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