Create QR Code for link using Python

Quick Response QR is short and named for a quick read from a cell phone. Used to view information from transitory media and put it on your cell phone. To create QR codes with Python you only need to install a Python module. Installation The pyqrcode module is a QR code generator that is simple to use and written in pure python. The module can automates most of the building process for creating QR codes. Most codes can be created […]

Read more

The pos module and added QR code to pos receipt

In this repo i inherit the pos module and added QR code to pos receipt $ python odoo-bin scaffold 1 – Create new js class and put this code that defin a function referenced to odoo.define(‘point_of_sale.OrderReceipt’, function (require) { ‘use strict’; const PosComponent = require(‘point_of_sale.PosComponent’); const Registries = require(‘point_of_sale.Registries’); function myFunction(text) { return text } class OrderReceipt extends PosComponent { constructor() { console.log(“eslam faisal constructor”) super(…arguments); this._receiptEnv = this.props.order.getOrderReceiptEnv(); } willUpdateProps(nextProps) { this._receiptEnv = nextProps.order.getOrderReceiptEnv(); } get receipt() { return […]

Read more