产品和位置条形码

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.

条形码命名规则

多数零售产品采用 EAN-13 条码(即全球贸易标识码 GTIN)。为产品创建新 GTIN 需持有 GS1 公司前缀。详见 :doc:`GS1 规范 <../operations/gs1_nomenclature> `了解该系统使用规范。

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.

在库存应用程序设置中更改条形码名称。

条形码查询

Odoo 可使用 库存条码数据库 设置自动为任何 UPC(通用产品码)、: abbr:EAN(欧洲商品码) 或 :abbr:`ISBN (国际标准书号)`条形码添加产品信息。

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.

设置产品条形码

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. 在**条形码**首页,点击 操作,点击 收据,然后点击 :guilabel:`新建`按钮。

  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.

产品表单上的'条形码'字段,光标处于活动状态。

注解

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

From Inventory settings

要访问 产品条码 配置页面,请访问 库存应用程序 ‣ 配置 ‣ 设置。在 条形码 部分的 条形码扫描器 功能下,点击:icon:fa-arrow-right配置产品条形码。在此列表视图中,点击任何产品的 条形码 栏以输入其条形码。条形码扫描仪将在扫描产品时填充此字段。

在产品配置表单中选择条形码字段。

小技巧

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.

从产品表单

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.

参见

包装