QR Code Scanning in POS
Scans QR codes via device's camera.
New Button to start scanning
Click QR Scan and make QR Code under camera as on the video below (open it in a new Tab, if the video is not played). Once QR is scanned, camera is closed and next action will be done automatically
Result after scanning depends on other modules. For example, with module WeChat Payments in POS scanning will result registering qr-based payment.
For mobile devices we recommend to use POS Mobile UI module.
Need our service?
Contact us by email or fill out request form
- pos@it-projects.info
- https://www.it-projects.info/page/website.contactus
- skype@it-projects.info
Tested on Odoo
12.0 community
12.0 community
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Point of Sale (point_of_sale)
• Discuss (mail) • Inventory (stock) • Invoicing (account) |
| Community Apps Dependencies | Show |
| Lines of code | 506 |
| Technical Name |
itp_pos_qr_scan |
| License | See License tab |
| Website | https://it-projects.info |
QR Code Scanning in POS
Installation
- Install this module in a usual way
Configuration
Browser may not give access to camera if using insecure http connection.
Reference: https://www.w3.org/TR/secure-contexts/#threat-risks
Possible NGINX configurations to support https:
server {
listen 443 ssl;
server_name posadd.odoo11.local;
ssl_certificate /etc/nginx/ssl/nginx.crt;
ssl_certificate_key /etc/nginx/ssl/nginx.key;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
if ( $scheme = "http" )
{
rewrite ^/(.*)$ https://$host/$1 permanent;
}
proxy_buffers 16 64k;
proxy_buffer_size 128k;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 600s;
client_max_body_size 100m;
location /longpolling {
proxy_pass http://127.0.0.1:8072;
}
location / {
proxy_pass http://127.0.0.1:8069;
}
}
The MIT License (MIT) Copyright 2020 IT-Projects Labs Copyright 2015-2020 IT-Projects LLC Copyright 2014-2015 Ivan Yelizariev Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall 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