Odoo guides · SALUT TECH SRL

Odoo services

Products sold by weight, each piece with its own barcode (Odoo 19)

Cheese, salami and meat are often sold at a price per kg, with each piece labelled with its own weight, and often a lot and expiry date. You don't need one product per piece. Keep one product per item, and let each label's barcode carry the weight.

Option 1: GS1-128 labels (best when you track lots and expiry). One GS1-128 barcode holds (01) the GTIN, (3103) the net weight in kg, (10) the lot and (17) the expiry date. Odoo ships a "Default GS1 Nomenclature" with these rules; Inventory installs it.

  1. Set the company's Barcode Nomenclature to "Default GS1 Nomenclature" (shown in the POS settings; it's a company field, so Inventory uses it too).
  2. Give each product its GTIN as the barcode, and set its unit of measure to kg.
  3. Have the scale or label printer print GS1-128 with (01), (3103), (10) and (17).

In the 19.0 Point of Sale code, a GS1 scan finds the product from (01), uses the weight from (310x) only when the product's unit is kg, and passes the lot from (10). If the product is in Units, the weight is ignored.

Option 2: plain EAN-13 weight labels (simpler scales, no lot). The default nomenclature has the rule "Weight Barcodes 3 Decimals", pattern 21.....{NNDDD}. The product barcode is 21 + a 5-digit item code + 00000 + check digit, and the scale prints the weight in the last five digits. This works at the till, but an EAN-13 can't carry a lot or an expiry date.

Not checked: the Barcode app (Enterprise) for receipts and deliveries. Test one product end to end on a duplicate database: receipt, POS sale and delivery.

Sources: Odoo 19.0 source: barcodes_gs1_nomenclature/data/barcodes_gs1_rules.xml, stock/__manifest__.py, point_of_sale/static/src/app/screens/product_screen/product_screen.js, barcodes/models/res_company.py, stock/data/default_barcode_patterns.xml, read 16 Nov 2026; Odoo forum thread 391751.

Questions about your own Odoo setup? Ask for a free review and a written fixed price.