diff --git a/report_qr/README.rst b/report_qr/README.rst index af0b5eeb6..8399b62cc 100644 --- a/report_qr/README.rst +++ b/report_qr/README.rst @@ -51,6 +51,10 @@ When creating new reports, you should use a path like the following:: +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&amp;error_correction=%s' % ('HELLO WORLD!', 3)" style="width:100;height:100"/>
 
+

OR:

+
+<img t-att-src="'/report/qr/image_name.ext?value=%s&amp;error_correction=%s' % ('HELLO WORLD!', 3)" style="width:100;height:100"/>
+

The error_correction parameter controls the error correction used for the QR Code. The following four constants are made available: