From 4dc8a0a017cc06d96fad7102b6061a84f8f0bcb5 Mon Sep 17 00:00:00 2001
From: OCA-git-bot OR: The error_correction parameter controls the error correction used for the QR Code. The following four constants are made available:
+OR::
+
+
+
The **error_correction** parameter controls the error correction used for the QR Code. The following four constants are made available:
@@ -66,6 +70,8 @@ The **version** parameter is an integer from 1 to 40 that controls the size of t
**fill_color** and **back_color** can change the background and the painting color of the QR, when using the default image factory.
+Adding a trailing filename at the url will allow downloading the qr image with that name proposed.
+
Bug Tracker
===========
diff --git a/report_qr/static/description/index.html b/report_qr/static/description/index.html
index c23e24d15..b3488981d 100644
--- a/report_qr/static/description/index.html
+++ b/report_qr/static/description/index.html
@@ -396,6 +396,10 @@ ul.auto-toc {
<img t-att-src="'/report/qr/?value=%s&error_correction=%s' % ('HELLO WORLD!', 3)" style="width:100;height:100"/>
+
+<img t-att-src="'/report/qr/image_name.ext?value=%s&error_correction=%s' % ('HELLO WORLD!', 3)" style="width:100;height:100"/>
+
The version parameter is an integer from 1 to 40 that controls the size of the QR Code (the smallest, version 1, is a 21x21 matrix). Set to None and use the fit parameter when making the code to determine this automatically.
fill_color and back_color can change the background and the painting color of the QR, when using the default image factory.
+Adding a trailing filename at the url will allow downloading the qr image with that name proposed.