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

Hello,

I'm using Odoo (version [17.0]) and I'm facing an issue with short barcodes in the Point of Sale (POS) system.

I have products with very short barcodes such as:

  • 95
  • 96
  • 97

I created a custom barcode rule using a pattern like {NN} and assigned these barcodes directly to products. The scanner sends the correct code (verified using Notepad), and I can even see the system recognize the code in technical views (like the "Fix Issues" window).

However, the POS does not recognize or respond to these barcodes during a live session.

I suspect this might be related to how PosDB performs string-based matching for product search and expects longer barcodes like EAN-13.

Has anyone managed to use short barcodes like this in POS without switching to EAN format?

Do I need to patch _product_search_string() or override search_product() in JS?

Thanks in advance!

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
3
лип. 25
1504
1
черв. 25
1481
2
трав. 25
1459
1
лют. 25
38
1
лют. 25
1386