İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
1071 Görünümler

I’ve been facing an issue with configuring the Product Weight Barcode in the POS application. Despite following the instructions provided in the documentation, the system does not fetch the product and weight as expected.

The documentation itself appears contradictory:

  • In one instance, it states that the barcode should end with a check digit of 8.
  • In another example, the barcode ends with a check digit of 2

Additionally, the video tutorial linked below demonstrates configuring the Product Weight Barcode without including a check digit, which further adds to the confusion.

I have tried all these configurations, but none of them seem to work correctly in my POS setup.

Could someone help please?

Documentation link:

Product Weight Barcode Documentation

Video link:

Odoo Product Weight Barcode Tutorial

Thank you in advance for your support!

Avatar
Vazgeç
En İyi Yanıt

Hello,

The last digit of EAN–13 barcodes is a check digit. The check digit is used to detect errors mostly caused by human transcription and it computed using a formula as below:

To compute the check digit follow the simple rules:

  1. Sum all the digits in even positions and multiply by 3;
  2. Add all the the digits in odd positions (except for the last one which is check digit) to the number you’ve got;
  3. Divide that number by 10 and take the remainder;
  4. If the remainder is not 0, subtract it from 10.

After applying the above formula to the barcodes mentioned in documentation:

211234501500   -- > Th check digit will be 2 ---> 2112345015002

211234500000 --> Th check digit will be 8 --> 2112345000008

You can check this using any online EAN Check Digit Calculator like the below:

https://boxshot.com/barcode/tutorials/ean-13-calculator/


You can check the below for how to configure it in Odoo:

How to use barcode to scan the weight of my product in PoS | Odoo

Avatar
Vazgeç
Üretici En İyi Yanıt

Thank you, Waleed, for your response.

I understand how check digits work. My question is: what check digit should we enter in the product profile?

For example, the check digit for the barcode starting with 211234500000 is 8, resulting in the full barcode 2112345000008.

If we enter this barcode in the product page, the system recognizes only barcodes ending with 8, such as:

  • 2112345005508
  • 2112345039978

However, any other barcode with a different check digit does not work.

To solve this, I entered 2112345000000 in the product page and created additional Packaging for the same product with 9 other barcodes:

  • 2112345000001
  • 2112345000002
  • 2112345000003
  • 2112345000004
  • 2112345000005
  • 2112345000006
  • 2112345000007
  • 2112345000008
  • 2112345000009

This workaround works well, but it requires entering 10 barcodes for every weighted product, which is not efficient.

Is there a better solution to avoid adding multiple barcodes for each product?

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Eki 25
545
1
Eyl 25
1416
2
Eyl 25
1610
1
Ağu 25
1303
1
Tem 25
1597