Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 20
4112
0
thg 5 22
2632
2
thg 12 23
6166
0
thg 3 25
728
0
thg 3 24
1701