跳至内容
菜单
此问题已终结

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.

形象
丢弃
相关帖文 回复 查看 活动
1
5月 20
4113
0
5月 22
2632
2
12月 23
6166
0
3月 25
728
0
3月 24
1701