OdooWiki OCA HUB

Barcode Input for Inventories

stock_inventory_barcode folder_open OCA/stock-logistics-barcode open_in_new
Inventory, Logistic, Storage License: AGPL-3

The interface provided by Odoo in the official stock module to make an inventory has 2 limitations:

  • it is not easy/fast to use when you have several thousand products
  • you cannot use a barcode reader to scan the products

Other community modules such as stock_barcodes or mobile_app_inventory propose a mobile interface to operate inventories using smartphones with barcode scanners. This is the most advanced solution, but it requires special hardware and these modules are have a lot of lines of code.

This module is a small-and-simple module to make an inventory using the regular web interface of Odoo with a barcode reader.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Adds a barcode scanning wizard to stock inventories so users can quickly enter counted quantities by scanning product barcodes or internal references instead of searching each product manually.

This module adds a "Start Barcode Interface" button on the inventory form, visible only when the inventory is In Progress. Clicking it opens a pop-up wizard designed to be used with a barcode reader.

In the wizard, the user scans or types a barcode or internal reference in the "Barcode or Internal Reference" field. Odoo automatically finds the matching stockable product and fills in the product, its unit of measure and its tracking type. If several products match, or none is found, a warning message asks the user to select the product manually.

If the product is tracked by lot or serial number, a lot field appears and becomes mandatory. The location field is shown only when the inventory covers more than one stock location. The wizard displays the theoretical quantity and the current real quantity already recorded for that product, lot and location.

The user can either set a new real quantity or add a quantity to the existing one. When saving, the corresponding inventory line is created if needed and its real quantity is updated. A note lists other inventory lines already counted for the same product, so the user can avoid double counting.

The wizard only works while the inventory is In Progress; otherwise an error is raised. It also prevents changing the product's unit of measure.

Depends on

stock
Models and fields (1)
  • stock.inventory.barcode · new modelnote, lot_id (Lot), uom_id (Unit of measure), add_qty (Add to Real Quantity), uom_name, change_qty (Change Real Quantity), company_id (Company), product_id (Product), location_id (Location), product_qty (Current Real Quantity), inventory_id (Inventory), product_code (Barcode or Internal Reference), theoretical_qty, product_tracking (Tracking), inventory_line_id (Stock Inventory Line), multi_stock_location

Text generated by AI (DeepSeek) from reading the Odoo 14.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/stock-logistics-barcode.

terminal Installation and usage

OCA documentation · Odoo 14.0

On the form view of an inventory, once the inventory has been started (State = In Progress), you will see a button Start Barcode Interface. It will open a pop-up window that allows the user to easily enter the inventory quantity (or update the inventory quantity, in case the product is found a second time at a different place during the inventory).

The wizard screen is automatically adapted when the product is tracked by lot or serial, and if the inventory is made across several stock locations.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.