QR Code Mixin
Project description
QR Code Mixin
ssi_qr_code_mixin provides an abstract Odoo model — mixin.qr_code — that adds a computed QR-code image to any model.
Any model that inherits from mixin.qr_code automatically gains:
qr_image (Binary) — a computed QR-code image in PNG format encoded as Base64.
Content strategy per model configured via the extended ir.model: either use the standard web URL of the record, or supply custom Python code that builds the string to encode.
Optional automatic injection of a QR-code page into the form view (enabled by setting _qr_code_create_page = True on the subclass).
The module depends on the qrcode Python library (listed in requirements.txt) and on ssi_decorator for view injection.
Installation
To install this module, you need to:
Clone the branch 14.0 of the repository https://github.com/open-synergy/ssi-mixin
Add the path to this repository in your configuration (addons-path)
Update the module list (Must be on developer mode)
Go to menu Apps -> Apps -> Main Apps
Search For QR Code Mixin
Install the module
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 smash it by providing detailed and welcomed feedback.
Credits
Contributors
Andhitia Rama <andhitia.r@gmail.com>
Michael Viriyananda <viriyananda.michael@gmail.com>
Maintainer
This module is maintained by the PT. Simetri Sinergi Indonesia.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo14_addon_ssi_qr_code_mixin-14.0.2.1.2.dev1-py3-none-any.whl.
File metadata
- Download URL: odoo14_addon_ssi_qr_code_mixin-14.0.2.1.2.dev1-py3-none-any.whl
- Upload date:
- Size: 57.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8f022b01a96ea1e0021f724d79ca51f144054b22d0e413f4f9425164ceae661
|
|
| MD5 |
d1ed967ca5b5390027ff67dec6d53cbc
|
|
| BLAKE2b-256 |
32af1948a1f707454658b439fb0c3b69ca36b72f4b90eb23684adf2b725af6bc
|