Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged

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.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
kvě 20
4107
0
kvě 22
2631
2
pro 23
6166
0
bře 25
726
0
bře 24
1699