GS1 barcode usage

GS1 barcodes provide a standardized format that barcode scanners can interpret. They encode information in a specific structure recognized globally, allowing scanners to understand and process supply chain data consistently.

Odoo Barcode interprets and prints GS1 barcodes, automating product identification and tracking in warehouse operations such as receiving, picking, and shipping.

The following sections contain examples of how Odoo uses GS1 barcodes provided by the business to identify common warehouse items and automate certain warehouse workflows.

Quan trọng

Odoo không tạo mã vạch GS1. Doanh nghiệp cần mua một Mã số sản phẩm thương mại toàn cầu (GTIN) duy nhất từ tổ chức GS1. Sau đó, họ có thể kết hợp mã vạch GS1 hiện có với thông tin sản phẩm và chuỗi cung ứng (cũng do GS1 cung cấp) để tạo mã vạch trong Odoo.

Configure barcodes for product, quantity, and lots

To build a GS1 barcode that contains information about a product, its quantities, and the lot number, the following barcode patterns and Application Identifiers (A.I.) are used:

Tên

Tên quy tắc

A.I.

Mẫu mã vạch

Field in Odoo

Sản phẩm

Global Trade Item Number (GTIN)

01

(01)(\d{14})

Barcode field on product form

Số lượng

Variable count of items

30

(30)(\d{0,8})

Units field on transfer form

Số LOT

Batch or lot number

10

(10)([!"%-/0-9:-?A-Z_a-z]{0,20})

Lot on Detailed Operations pop-up

Cấu hình

First, enable product tracking using lots by navigating to Inventory app ‣ Configuration ‣ Settings, and checking the box for Lots & Serial Numbers under the Traceability heading.

Sau đó, thiết lập mã vạch cho sản phẩm bằng cách đi đến biểu mẫu sản phẩm trong Ứng dụng Tồn kho ‣ Sản phẩm ‣ Sản phẩm và chọn sản phẩm mong muốn. Trên biểu mẫu sản phẩm, nhấp vào Chỉnh sửa. Sau đó, trong tab Thông tin chung, điền Mã số sản phẩm thương mại toàn cầu (GTIN) gồm 14 chữ số vào trường Mã vạch, đây là một mã số nhận dạng được công nhận toàn cầu do tổ chức GS1 cung cấp.

Quan trọng

On the product form, omit the A.I. 01 for GTIN product barcode pattern, as it is only used to encode multiple barcodes into a single barcode that contains detailed information about the package contents.

Example

To record the GS1 barcode for the product, Fuji Apple, enter the 14-digit GTIN 20611628936004 in the Barcode field on the product form.

Enter 14-digit GTIN into the Barcode field on product form.

Mẹo

To view a list of all products and their corresponding barcodes in the Odoo database, navigate to Inventory app ‣ Configuration ‣ Settings. Under the Barcode heading, click on the Configure Product Barcodes button under the Barcode Scanner section. Enter the 14-digit GTIN into the Barcode column, then click Save.

View the Product Barcodes page from inventory settings.

After activating tracking by lots and serial numbers from the settings page, specify that this feature is to be applied on each product by navigating to the Inventory tab on the product form. Under Tracking, choose the By Lots radio button.

Enable product tracking by lots in the "Inventory" tab of the product form.

Scan barcode on receipt

To ensure accurate lot interpretation in Odoo on product barcodes scanned during a receipt operation, navigate to the Barcode app to manage the receipt picking process.

From the Barcode Scanning dashboard, click the Operations button, then the Receipts button to view the list of vendor receipts to process. Receipts generated from POs are listed, but new receipt operations can also be created directly through the Barcode app using the Create button.

On the list of receipts, click on the warehouse operation (WH/IN) and scan product barcodes and lot numbers with a barcode scanner. The scanned product then appears on the list. Use the ✏️ (pencil) button to open a window and manually enter quantities for specific lot numbers.

Example

After placing a PO for fifty apples, navigate to the associated receipt in the Barcode app.

Scan the barcode containing the GTIN, quantity, and lot number. For testing with a barcode scanner, below is an example barcode for the fifty Fuji apples in Lot 2.

50 Fuji apples in Lot0002

Ma trận 2D

2D matrix of GS1 barcode of 50 fuji apples with an assigned lot number.

|Tất cả (sản phẩm)

01

Mã vạch GS1 (sản phẩm)

20611628936004

|Tất cả (số lượng)

30

Mã vạch GS1 (số lượng)

00000050

|Tất cả (lô)

10

GS1 Barcode (lot #)

LOT0002

Full GS1 barcode

0120611628936004 3000000050 10LOT0002

If the configuration is correct, 50/50 Units processed will be displayed and the Validate button turns green. Click the Validate button to complete the reception.

Scan the barcode for a product on the reception picking page in the *Barcode* app.

Configure barcode for product and non-unit quantity

To build a GS1 barcode that contains products measured in a non-unit quantity, like kilograms, for example, the following barcode patterns are used:

Tên

Tên quy tắc

A.I.

Mẫu mã vạch

Field in Odoo

Sản phẩm

Global Trade Item Number (GTIN)

01

(01)(\d{14})

Barcode field on product form

Số lượng theo kilogram

Variable count of items

310[0-5]

(310[0-5])(\d{6})

Units field on transfer form

Scan barcode on receipt

To confirm that quantities are correctly interpreted in Odoo, place an order in the Purchase app using the appropriate unit of measure (UoM) for the quantity of products to be purchased.

After the order is placed, navigate to the Barcode app to receive the vendor shipment.

Example

On the receipt in the Barcode app, receive an order for 52.1 kg of peaches by scanning the barcode containing the GTIN and quantity of peaches in kilograms.

52.1 kg of Peaches

Ma trận 2D

2D matrix of GS1 barcode of 52.1 kg of peaches.

|Tất cả (sản phẩm)

01

Mã vạch GS1 (sản phẩm)

00614141000012

A.I. (kg, 1 decimal point)

3101

Mã vạch GS1 (số lượng)

000521

Full GS1 barcode

0100614141000012 3101000521

If the configuration is correct, 52.1 / 52.1 kg will be displayed and the Validate button turns green. Finally, press Validate to complete the validation.

Scan barcode screen for a reception operation in the Barcode app.

Verify product moves

For additional verification, the quantities of received products are also recorded on the Product Moves report, accessible by navigating to Inventory app ‣ Reporting ‣ Product Moves.

Các mục trên báo cáo Dịch chuyển sản phẩm được nhóm theo sản phẩm theo mặc định. Để xác nhận số lượng đã nhận, nhấp vào một dòng sản phẩm để mở menu thả xuống có thể thu gọn, hiển thị danh sách các dòng dịch chuyển tồn kho cho sản phẩm đó. Dòng dịch chuyển tồn kho mới nhất khớp với số tham chiếu nhập kho (VD: WH/IN/00013) và số lượng đã xử lý trong quét mã vạch, chứng tỏ rằng các bản ghi đã xử lý trong ứng dụng Mã vạch được lưu trữ chính xác trong Tồn kho.

Reception stock move record for 52.1 kg of peaches.