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
4112
0
พ.ค. 22
2632
2
ธ.ค. 23
6166
0
มี.ค. 25
727
0
มี.ค. 24
1700