Codes-barres de produit et d’emplacement

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.

Configuration

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.

Nomenclature de codes-barres

La plupart des produits de détail utilisent des codes-barres EAN-13, également appelés numéros mondiaux d’identification commerciale (GTIN). Pour créer un nouveau GTIN pour un produit, une entreprise doit disposer d’un préfixe entreprise GS1. Voir Nomenclature GS1 pour plus d’informations sur l’utilisation de ce système.

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.

Modifier la nomenclature des codes-barres dans les paramètres de l'application Inventaire.

Recherche de code-barres

Odoo peut ajouter automatiquement les informations sur les produits en utilisant le paramètre Base de données de codes-barres de stock pour tout code-barres UPC, EAN ou 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.

Voir également

Recherche de code-barres

Définir les codes-barres de produit

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. Depuis la page d’accueil de l’application Code-barres, appuyer sur Opérations, appuyer sur Réceptions, puis appuyer sur le bouton Nouveau.

  2. Scanner un code-barres de commande d’inventaire Réceptions (WHIN) imprimé.

Formulaire de nouvelle réception vide.

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.

Dialogue de confirmation de nouveau produit.

Note

Même si un ordre de transfert avec un produit créé via Code-barres est annulé, le produit reste disponible dans la liste des produits de l’application Inventaire à moins qu’il ne soit supprimé.

Depuis un formulaire de produit

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.

Le champ « Code-barres » sur un formulaire de produit avec un curseur actif.

Note

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

Depuis les paramètres de l’inventaire

Pour accéder à la page de configuration Codes-barres de produit, aller à application Inventaire ‣ Configuration ‣ Paramètres. Dans la section Code-barres, sous la fonctionnalité Lecteur de code-barres, cliquer sur Configurer les codes-barres de produit. Depuis cette vue de liste, cliquer sur la colonne Codes-barres pour n’importe quel produit afin de saisir son code-barres. Les lecteurs de code-barres rempliront ce champ lorsque le produit est scanné.

Sélection du champ Code-barres dans le formulaire de configuration de produit.

Astuce

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.

Fenêtre « Ajouter un filtre personnalisé » avec « Code-barres n'est pas défini » configuré.

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.

Depuis la fiche produit

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.

Voir également

Conditionnement