Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

Parent item with Child SKUs: Reference Numbers

Naroči se

Get notified when there's activity on this post

This question has been flagged
VariantsSKU
1 Odgovori
1323 Prikazi
Avatar
Pat D

New here and trying to figure out how Odoo inventory handles parent items with child skus?
I see the product variants but what I can't figure out is how variant skus connect to a non-inventory parent (catalog) item. 
For example, a sized T-shirt, item T01 in sizes Small through XL where T01 is the catalog parent item, and T01S, T01M, T01L and T01X are the child stock units being tracked and sold.

0
Avatar
Opusti
Christoph Farnleitner

I'm unsure of what kind of answer your looking for. Product variants are for example described in https://www.odoo.com/documentation/18.0/applications/sales/sales/products_prices/products/variants.html - 'Inventory: inventory is counted for each individual product variant. On the product template form, the inventory reflects the sum of all variants, but the actual inventory is computed by individual variants.'

Pat D
Avtor

To clarify, what I was looking for is how to structure product codes ( I think it's Internal Reference) in Odoo.
I see that on a single product I can have an Internal Reference product code.
But on a product with variants, only the variants seem to have a product code.

In the T-shirt example, the main item would be product code T01 but in Odoo I can only provide T01S to the variant size small but I can't assign T01 to the main item.
Does that make sense?

Chris TRINGHAM

Correct, you cannot have an Internal Product Reference (T01) for the T-shirt, but if you searched for "T01" products you would see T01S, T01M, T01L and T01X. That makes sense because you can't buy or sell T01, you have to select a size.

faOtools

Additionally, this app - https://apps.odoo.com/apps/modules/18.0/product_dynamic_code - may help configure internal references to reflect the hierarchical nature of Odoo's products.

Avatar
Christoph Farnleitner
Best Answer

Correct, the (Internal) Reference field (or default_code as it is called in the database) is meant to be an unique identifier on a Product.

Now, here 'Product' can mean two things:

  • a Product (Template) (technical name product.template) without Variants
  • a (Product) Variant (technical name product.product) itself

It's important to note that every Product Template has at least on Product Variant. In other words, a product.template record is either directly linked to a single product.product record (=> a Product without Variants) or to multiple product.product records (=> a Product with Variants); In return, each Product Variant is definitely linked to one Product Template.

In the light of calling '(Internal) Reference' a 'SKU' this makes actually sense, since you don't keep track of the stock of what all a product could be (Product Template with multiple Variants) but rather what it actually is (a Product Template representing just one Variant or the different Variants of a Product Template).

From a more technical point of view, the behavior of what a Product Template's Reference is, is defined here: https://github.com/odoo/odoo/blob/18.0/addons/product/models/product_template.py#L423-L428
This section basically says that when there's just a single Variant, the Variant's Reference is applicable to the Template as well, otherwise it isn't (this then is combined with some view logic of whether or not to show the field).
This is also true for other fields, such as for example the weight of a Product - again, here you would be interested in the physical item rather than the 'definition container' or 'group' (aka Product Template) when dealing with different Variants.


1
Avatar
Opusti
Enjoying the discussion? Don't just read, join in!

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Unique SKU for each variant on Item Page Solved
Variants SKU
Avatar
Avatar
1
jul. 25
2195
Product variants with the same sku?
SKU
Avatar
Avatar
1
okt. 25
435
SKU productos en mi tienda odoo
SKU
Avatar
Avatar
1
jul. 25
1432
Show all the products on the pruduct page of the webshop when working with variants
webshop Variants
Avatar
0
sep. 24
1212
EXPORTAR CORRECTAMENTE
Variants Tags
Avatar
0
jul. 24
1424
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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