Erply POS (Brazil, Self-service POS) supports barcodes with embedded weight or price. The barcode that the scale prints out contains weighed product price (barcode with price) or weight (barcode with weight).
The barcode is 12 or 13 digits long and consists of the following parts:
1. A unique prefix is always the same (2 places).
2. Product code (5 or 6 characters)
3. Weighed item weight or final price (4 or 5 places)
4. Control number (1 place)

In the example above, the barcode has a prefix of 20, a 5-digit product code (01234), a 5-digit price (8.45) or quantity (845 grams), and a control number of 7.
You can set it up in the Erply Back Office side.
Navigate to the Settings -> Configuration -> POS - barcodes with embedded weight or price

Pre-weighed products should have a maximum 5-digit code and unit kg in Erply in this case.
By scanning such a barcode at the checkout, the program divides the product code and weight according to the prefix and registers the product in Erply according to the kg weight given to the product.