[12.0][MIG] report_wkhtmltopdf_param

This commit is contained in:
Abraham Anes
2019-03-28 13:40:28 +01:00
committed by fshah
parent 04a01f6c0e
commit ddbc1926e8
78 changed files with 2212 additions and 1755 deletions

View File

@@ -0,0 +1,2 @@
* Miku Laitinen <miku@avoin.systems>
* Jordi Ballester <jordi.ballester@eficent.com>

View File

@@ -0,0 +1,9 @@
This module allows you to add new parameters for a paper format which are
then forwarded to wkhtmltopdf command as arguments. To display the arguments
that wkhtmltopdf accepts go to your command line and type 'wkhtmltopdf -H'.
A commonly used parameter in Odoo is *--disable-smart-shrinking*, that will
disable the automatic resizing of the PDF when converting. This is
important when you intend to have a layout that conforms to certain alignment.
It is very common whenever you need to conform the PDF to a predefined
layoyut (e.g. checks, official forms,...).

View File

@@ -0,0 +1,4 @@
#. Go to *Settings* and press 'Activate the developer mode (with assets)'
#. Go to *Settings - Technical - Reports - Paper Format*
#. Add additional parameters indicating the command argument name (remember to
add prefix -- or -) and value.