[FIX]: stock: weighted type of patterns added in stock
[FIX] barcodes, point_of_sale: JS functions for parsing barcode moved to module barcodes, BarcodeParser