Odoo Barcode Widget

Odoo Barcode Widget
Turn Any Text Field Into a Scannable Barcode or QR Code
Odoo doesn't normally render a barcode or QR code on a form — values like SKUs or serial numbers just sit there as plain text. Odoo Barcode Widget changes that by rendering a real, scannable barcode or QR code directly on any character field, and lets users scan codes back in using a webcam or phone camera.
Why Add a Barcode Widget to Your Odoo Forms?
Manually cross-referencing a printed code against a record, or retyping a long SKU, wastes time and invites errors. With a barcode rendered right on the form and scan-to-fill support, staff can verify or capture a value in seconds instead of typing it out by hand.
Key Features of Odoo Barcode Widget
Multiple Barcode Formats Supported
Renders EAN13, EAN8, QR, UPC-A, Code128, Code11, and Codabar formats directly on the form.
Read-Only Form Display
Shows the barcode visually on the form in read-only mode, so it's a true visual code rather than just text.
Works on Any Char Field
The widget can be attached to a character field on any Odoo model, not just predefined product or barcode fields.
Scan-to-Fill Support
Lets users scan a barcode or QR code with a webcam or smartphone camera to populate the field automatically.
Benefits of Odoo Barcode Widget
Faster Data Entry
Scanning a code is quicker and less error-prone than typing it manually.
Visual Verification
Staff can glance at a rendered barcode to confirm a record matches a physical label before acting on it.
Flexible Across Models
Since it attaches to any char field, the widget isn't limited to product records — it can be used wherever a scannable identifier makes sense.
No Extra Hardware Required
A standard webcam or smartphone camera is enough to scan codes; no dedicated barcode scanner is needed.
How Odoo Barcode Widget Works
Step 1: Add the Widget to a Field
Attach the barcode widget to the relevant character field on a model's form view.
Step 2: Choose the Barcode Format
Select which format — EAN13, EAN8, QR, UPC-A, Code128, Code11, or Codabar — fits the data being stored.
Step 3: View or Scan the Code
The barcode renders on the form for visual reference, or a user can scan a code with a camera to fill the field.
Frequently Asked Questions
What does Odoo Barcode Widget do?
It renders a scannable barcode or QR code on any character field's form view, and lets users scan codes back in using a camera.
Which barcode formats are supported?
EAN13, EAN8, QR, UPC-A, Code128, Code11, and Codabar.
Can I add this to fields outside the product model?
Yes, the widget works with any character field on any Odoo model, not just product-related fields.
Do I need a dedicated barcode scanner?
No, a webcam or smartphone camera is enough to scan codes into the field.
Is the barcode editable directly on the form?
The barcode itself displays in read-only mode; it reflects whatever value is stored in the underlying field.
Why would I use this instead of plain text?
A rendered barcode lets you visually verify or scan a value instead of relying on manually reading and comparing text strings.
Odoo Barcode Widget pairs well with a few other CodersFort modules built around barcode and scanning workflows. If you also need to print physical labels for what this widget displays on screen, Barcode Label Printer and its companion, Barcode Label Printer Advanced, handle generating and printing those labels in bulk.
For QR-based use cases beyond product fields, Odoo Product QR Code Generator creates QR codes tied to specific products, while Partner Map QR Code generates scannable codes linked to partner location data. Combined with the Barcode Widget's on-form rendering and camera-based scanning, these modules give a fuller barcode and QR toolkit across inventory, sales, and partner records in Odoo.
Buy from our app store or contact us directly