Skip to main content

QR Code Mixin

Project description

License: AGPL-3

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:

  1. Clone the branch 14.0 of the repository https://github.com/open-synergy/ssi-mixin

  2. Add the path to this repository in your configuration (addons-path)

  3. Update the module list (Must be on developer mode)

  4. Go to menu Apps -> Apps -> Main Apps

  5. Search For QR Code Mixin

  6. 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

Maintainer

PT. Simetri Sinergi Indonesia

This module is maintained by the PT. Simetri Sinergi Indonesia.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo14_addon_ssi_qr_code_mixin-14.0.2.1.2.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo14_addon_ssi_qr_code_mixin-14.0.2.1.2.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 d8f022b01a96ea1e0021f724d79ca51f144054b22d0e413f4f9425164ceae661
MD5 d1ed967ca5b5390027ff67dec6d53cbc
BLAKE2b-256 32af1948a1f707454658b439fb0c3b69ca36b72f4b90eb23684adf2b725af6bc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page