Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 320 |
Technical Name |
mobile_code_scanner_widget |
License | OPL-1 |
Website | https://datasoupit.com |
Versions | 16.0 17.0 18.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 320 |
Technical Name |
mobile_code_scanner_widget |
License | OPL-1 |
Website | https://datasoupit.com |
Versions | 16.0 17.0 18.0 |

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

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
Email: argenspin@gmail.com
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
Report comment
Any abuse of this reporting system will be penalizedIt work well
The module works correctly and fast. Very Good.
Error opening form view
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
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
Can you please publish v17 for this module
Re: V17
It is already published: https://apps.odoo.com/apps/modules/17.0/mobile_code_scanner_widget
odoo 17
do you have this module in v17
Re: odoo 17
Yes