QR Code Window Action

by
Odoo          
v 12.0 Third Party 511
Download for 12.0 series Deploy on Odoo.sh
You bought this module and need support ? Click here !
Technical name web_ir_actions_act_window_qr_code
LicenseLGPL-3
Websitehttps://naglis.me/
Read description for v 11.0
Technical name web_ir_actions_act_window_qr_code
LicenseLGPL-3
Websitehttps://naglis.me/
Read description for v 11.0

QR Code Window Action

Display QR code pop-ups from Python code

This is a technical module which allows you to easily display QR code pop-ups from Python code.

Found a bug?

I would be grateful if you reported it on the project's issue tracker.

QR Code Window Action

Installation

This module can be installed as any other regular Odoo addon.

Usage

  1. Add this module to your module's dependencies (depends key in module's manifest).

  2. Return the QR code action from your Python code:

    return {
        # This is the name of the pop-up dialog window.
        'name': _('QR Code'),
        'type': 'ir.actions.act_window.qr_code',
        # A help text displayed above the QR code.
        'help_text': 'Scan the below QR code using your mobile phone.',
        # Data to be encoded in the QR code
        'data': 'https://naglis.me/',
        'flags': {
            # If true, an additional 'Open Link' button is displayed to open
            # the link in a new window.
            'is_url': False,
            # If true, hide the collapsible text area with the value of the QR
            # code.
            'hide_value': False,
        },
    }
    

Please log in to comment on this module

Please choose a rating from 1 to 5 for this module.