Skip to main content
Odoo Community Association

Barcode Camera

Beta License: AGPL-3 OCA/barcode-interface Translate me on Weblate Try me on Runboat

This module adds the device camera as a scan source to the Barcode app, so operators can scan without a dedicated hardware scanner.

A floating button opens the camera with Odoo’s own barcode scanner dialog. The code it reads is fed into the same event bus a hardware scanner uses, so the active screen handles it exactly like any other scan. The button is plugged in through the barcode_app_widgets registry of barcode_scanner, without patching the app.

Table of contents

Usage

Install barcode_camera next to a feature module such as barcode_stock.

A camera button appears in the bottom-right corner of every screen that reads a scan, whichever module it comes from: the home screen, the picking list and picking, the move wizard, the selectors, and so on. Tap it, point the camera at a barcode, and the scan is processed as if it came from a hardware scanner. The codes read are the ones Odoo’s scanner dialog reads: EAN, UPC, Code 128, Code 39, ITF, QR, Data Matrix and the like.

There is nothing to register for that: a screen reads scans through the hooks of barcode_scanner (useBarcodeHandler), which counts the screens doing so, and the button shows whenever one does.

The browser only gives access to the camera in a secure context (HTTPS or localhost). Without it, like Odoo’s own camera buttons, the button is not shown, and hardware or manual scanning remain available.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Binhex

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

szalatyzuzanna

This module is part of the OCA/barcode-interface project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Metadata

Release files for odoo-addon-barcode-camera 18.0.1.0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-barcode-camera 18.0.1.0.0.2
File Interpreter ABI Platform
odoo_addon_barcode_camera-18.0.1.0.0.2-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_barcode_camera-18.0.1.0.0.2-py3-none-any.whl

Download URL odoo_addon_barcode_camera-18.0.1.0.0.2-py3-none-any.whl
Size 29.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45b2ada14d309cbe642cd263b30d6f59dfe96cfb3985745e7ac09a5617c716f2
BLAKE2b-256 checksum
How to use checksums
24dfb131eb473cea98aff56f4bf7eb0d0f2ceeb8f367093665d8fc7fe50388c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release history Release notifications | RSS feed

This release

18.0.1.0.0.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page