Community mailing list archives

community@mail.odoo.com

POS payment screen amount input field

by
Mohamed Hagag
- 08/21/2016 15:56:33

Hi all,


I've a problem with one of my customers which is while in the payment screen of POS some times the barcode reader inputs a barcode in the payment field ( his customers puts the product in front of the reader) and this causes an issue.

So I would like to set the max length of the payment input field of the POS screen for ex. to 5 at most.

is there a module to do so already ? or disable barcode event in the pyament screen ?

if no, which function in POS JS files should I modify and can I use JS maxLength() function to do so ?

Regards,