Skip to Content
Menu

Mobile Barcode and QR Code Scanner Widget

by
Odoo

17.44

v 16.0 Third Party 24
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 320
Technical Name mobile_code_scanner_widget
LicenseOPL-1
Websitehttps://datasoupit.com
Versions 16.0 17.0 18.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 320
Technical Name mobile_code_scanner_widget
LicenseOPL-1
Websitehttps://datasoupit.com
Versions 16.0 17.0 18.0
Barcode Scanning Demo

Mobile Barcode and QR Code Scanner Widget

Easily scan barcodes and QR Codes using mobile camera from any Odoo module

Effortless and Accurate Scanning

Enhance Your Workflow with Reliable Data Capture

Use your mobile device's camera to scan barcodes with ease and precision.

Seamlessly integrate the scanning widget into your Odoo forms and views.

Enjoy fast and responsive scanning, optimized for mobile performance.

Supports multiple 1D and 2D formats including Barcodes and QR Codes

Supports flashlight for better detection in low light environments

Barcode Scanning Demo

Usage

You need to install the zxing-cpp and numpy libraries to utilize scanning in the backend:

pip3 install zxing-cpp numpy

Note: This module will work without these libraries, but it is highly recommended to install them, for preprocessing and scanning images in the backend for better results

To use the widget in a form, just include:
<field name="field_name" widget="mobile_code_scanner"/>

Options
  • enable_flashlight_default (Boolean) - Enable/Disable flashlight by default
  • enable_backend_scan (Boolean) - Enable/Disable scanning from the backend for better detection and accuracy
  • enable_sound (Boolean) - Enable/Disable beep sound after successful scan

Example
<field name="product_barcode" widget="mobile_code_scanner" scanner_options='{"enable_sound":false, "enable_flashlight_default":true, "enable_backend_scan":true}'/>

Author

Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
It work well
by
Leandro Carignano
on 11/13/24, 7:34 PM

The module works correctly and fast. Very Good.


Error opening form view
by
Leandro Carignano
on 11/13/24, 8:53 AM Confirmed Purchase

The module works correctly but I get an error when I open a window that has the widget. I get the following error:

UncaughtPromiseError > AssetsLoadingError

Promesa desconocida > The loading of /mobile_code_scanner_widget/static/src/js/lib/zxing-browser.min.js failed

AssetsLoadingError: The loading of /mobile_code_scanner_widget/static/src/js/lib/zxing-browser.min.js failed

    Error: The loading of /mobile_code_scanner_widget/static/src/js/lib/zxing-browser.min.js failed

        at HTMLScriptElement.<anonymous> (https://mi-host.com/web/assets/13950-e54871f/web.assets_backend.min.js:20:270)


Context: Odoo 16 CE


Error opening form view
by
Leandro Carignano
on 11/13/24, 8:50 AM Confirmed Purchase

The module works correctly but I get an error when I open a window that has the widget. I get the following error:

UncaughtPromiseError > AssetsLoadingError

Promesa desconocida > The loading of /mobile_code_scanner_widget/static/src/js/lib/zxing-browser.min.js failed

AssetsLoadingError: The loading of /mobile_code_scanner_widget/static/src/js/lib/zxing-browser.min.js failed

    Error: The loading of /mobile_code_scanner_widget/static/src/js/lib/zxing-browser.min.js failed

        at HTMLScriptElement.<anonymous> (https://mi-host.com/web/assets/13950-e54871f/web.assets_backend.min.js:20:270)


Context: Odoo 16 CE


V17
by
Mohamed Sharif
on 6/10/24, 12:50 PM

Can you please publish v17 for this module

Re: V17
by
argenspin
on 6/10/24, 1:22 PM Author

It is already published: https://apps.odoo.com/apps/modules/17.0/mobile_code_scanner_widget


odoo 17
by
Mohamed Sharif
on 6/10/24, 6:14 AM

do you have this module in v17

Re: odoo 17
by
argenspin
on 6/10/24, 7:10 AM Author

Yes