Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
139 Tampilan

In our store, we have products with a single SKU but with color variants.


Is it possible to scan all of them with the same SKU and have the seller define the color at the point of sale?


Why can't the same code be assigned to the different variants?

Although we were able to select the color at the POS using the variants, when we scan it, only the first one appears, the one assigned to the SKU.


Thank you!

Avatar
Buang
Jawaban Terbai

Hi,


By design, each product variant in Odoo is treated as a distinct record with its own internal ID and barcode. Even if the variants share the same SKU (default code), Odoo requires unique barcodes to distinguish them when scanning. When you scan a code, Odoo matches it to the first product record that uses that barcode or internal reference; hence, only one variant (the first one found) appears.


If your products have a single SKU but differ only by color, you can still sell them at the POS using variants, but you’ll need to choose the color manually on-screen rather than by scanning. Alternatively, you can assign unique barcodes per color variant (for example, by extending the base SKU with a color suffix like SKU001-RED, SKU001-BLUE, etc.), which ensures each variant can be scanned correctly.


Odoo doesn’t allow multiple variants to share the same barcode or SKU because the scanning logic expects a one-to-one relationship between barcode and product. The only way to scan variants directly is to assign each a unique code or barcode; otherwise, color selection must be done manually in the POS interface.



Hope it helps

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Jul 25
1202
1
Jun 25
933
1
Jul 25
1875
2
Jan 23
2959
4
Jan 25
4706