Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене

Hi everyone,

I'm configuring the Barcode module in Odoo 18 for my company, and I'm working with GS1-128 barcodes. While some parts work fine, I'm struggling with recognizing and mapping specific AI (Application Identifiers) data, especially the lot (10).

Context:

  • Using Honeywell CK65 barcode scanners.

The scanner suffix is configured as \x0D (Carriage Return).


  • Each product has two barcodes:
    1. First barcode: Contains (00) and (10).
    2. Second barcode: Contains (02), (11), and (37).
  • Current rule configuration:
    • SSCC (00): (00)(\d{18}) → Works correctly and populates the "Package" field.
    • Lot (10): (10)([A-Za-z0-9]{1,20}) → Not working.
    • GTIN (02): (02)(\d{14}) → Works fine.
    • Production Date (11): (11)(\d{6}) → Not tested.
    • Quantity (37): (37)(\d{1,8}) → Works fine.
  • The scanner suffix is configured as \x0D (Carriage Return).
  • Scanned barcodes
    • First scan: 0012345678901234567810LOT123
    • Second scan: 02123456789012341124111837100

Issues Encountered:

  1. (10) is not being recognized as the lot in Odoo.

Checked Odoo logs using sudo journalctl -u odoo18 -f, but no specific errors appear.


Thanks in advance for your help! Any suggestions or insights would be greatly appreciated.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
трав. 20
4137
0
трав. 22
2639
2
груд. 23
6191
0
бер. 25
732
0
бер. 24
1707