qrcode

trytond.tools.qrcode.generate_svg(code[, box_size[, border[, error_correction[, background[, foreground]]]]])

Return a BytesIO containing the SVG image of the QR Code.

trytond.tools.qrcode.generate_png(code[, box_size[, border[, error_correction[, background[, foreground]]]]])

Return a BytesIO containing the SVG image of the QR Code.