Product and location barcodes

Inventory operations, like product configuration, can be streamlined by taking advantage of barcode scanning features. Assigning barcodes to products, product packagings, and locations is a key step in using the Barcode app, and users can conveniently enter values using a barcode scanner. This reduces manual entry, minimizes errors, and speeds up common tasks like product selection, location assignment, and inventory adjustments.

配置

To enable the Barcode app, you must first enable it in the Inventory settings.

Navigate to Inventory app ‣ Configuration ‣ Settings. In the Barcode section, select the Barcode Scanner option. Be sure to click Save.

Barcode nomenclature

Most retail products use EAN-13 barcodes, also known as Global Trade Identification Numbers (GTIN). To create a new GTIN for a product, a company must have a GS1 Company Prefix. See GS1 nomenclature for more information about using this system.

Odoo supports using any string as a barcode, so users can also create custom internal references for barcode scanners. See the Default nomenclature to learn about optional conventions around barcodes and default values in Odoo.

To change the barcode nomenclature, go to the Inventory app ‣ Configuration ‣ Settings and scroll down to the Barcode section to select the nomenclature under Barcode Scanner.

Changing barcode nomenclature in Inventory app settings.

Barcode lookup

Odoo can automatically add product information using the Stock Barcode Database setting for any UPC, EAN, or ISBN barcode.

To enable automatic barcode look-up, go to the Inventory app ‣ Configuration ‣ Settings and scroll down to the Barcode section to select the Stock Barcode Database checkbox.

Set product barcodes

Barcodes can be assigned to existing products from the Product Barcodes configuration page or from any product form in the Inventory, Manufacturing, or Purchase apps. The barcode field can be populated either by typing or by scanning.

When adding a new product, the barcode lookup feature can automatically find product information by its barcode, and new products can be added to the database directly from the Barcode app by scanning a barcode.

From the Barcode app

New product definitions can be added to the database product lists, and their on-hand inventory can be tracked from the Barcode app if the Barcode Lookup feature is enabled. To create a new receipt for scanning new products, choose one of two methods:

  1. From the Barcode front page, tap Operations, tap Receipts, and then tap the New button.

  2. Scan a printed Receipts (WHIN) inventory command barcode.

Empty new receipt form.

Scanning a product that is not currently in inventory displays a message that the product does not exist, with a Create New Product button. Pressing this button will search the Barcode Lookup database for a product matching the code and format, create a new product definition in the Odoo database using the available information, and add that product to the receipt to track its quantity on hand.

New product confirmation dialog.

注解

Even if a transfer order with a product created through Barcode is cancelled, the product remains available in the products list in the Inventory app unless it is deleted.

From a product form

Barcodes can be added to both existing products and new products as they are created through the product’s configuration form. To access a product’s form, go to the Inventory app ‣ Products ‣ Products and select the product to add a barcode to.

In the General Information tab, click the Barcode field to either type in the barcode or use a scanner to input the barcode value.

The 'Barcode' field on a product form with an active cursor.

注解

If using product variants, configure barcodes on individual variants, not on the product template, to allow scanning to retrieve the variants.

From Inventory settings

To access the Product Barcodes configuration page, go to Inventory app ‣ Configuration ‣ Settings. In the Barcode section, under the Barcode Scanner feature, click Configure Product Barcodes. From this list view, click the Barcodes column for any product to enter its barcode. Barcode scanners will populate this field when the product is scanned.

Selecting the Barcode field in the Product Configuration form.

小技巧

To filter for products that do not have barcodes yet, click the (Toggle Search Panel) icon to add a custom filter where the Barcode property is not set.

'Add Custom Filter' pop-up with 'Barcode is not set' configured.

Set product packaging barcodes

If Product Packagings is enabled in the Inventory settings, barcodes can be set for product packagings. To enable this feature, navigate to Inventory app ‣ Configuration ‣ Settings. In the Products section, select Product Packagings. Be sure to Save the changes.

Barcodes can be assigned to product packagings from the Product Packagings page or from any product form in the Inventory app. The barcode field can be populated either by typing or by scanning.

After the barcode is assigned to the packaging, it can be used for warehouse operations.

From the Product Packagings page

Navigate to Inventory app ‣ Configuration ‣ Product Packagings.

On this page, ensure that the Barcode column appears by clicking the (additional options) icon and selecting Barcode.

Select an existing packaging, or create a new one by clicking New. Be sure to specify the product, its packaging, and the Contained Quantity. Specify whether it is available for Sales or Purchase. Specify a Barcode.

Specify a barcode on the Product Packagings page.

From product form

Navigate to Inventory app ‣ Products ‣ Products. Open an existing product, or create a new one by clicking New.

After specifying product information in the General Information tab, open the Inventory tab.

In the Packaging section, show the Barcode field by clicking the (additional options) icon and selecting Barcode.

Add a Barcode to an existing packaging, or create a new one by clicking Add a line. Be sure to specify a packaging name and the Contained Quantity. Specify whether the packaging is available for Sales or Purchase. Finally, specify a Barcode.

Set a barcode in the Inventory tab of a product form.

参见

包装