Search 1.9 billion lines of Odoo code on GitHub

report_paper_wkhtmltopdf_params

Author: Avoin.Systems,Eficent,Odoo Community Association (OCA)
License: AGPL-3
Branch: 10.0-add-report_paper_wkhtmltopdf_params
Repository: ForgeFlow/server-tools
Dependencies: report
Languages: Python (106, 85.5%), and XML (18, 14.5%)

<a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg"> </a> <a name="report-paper-wkhtmltopdf-params"></a> <h2>Report Paper Wkhtmltopdf Params</h2> <p>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'.</p> <p>A commonly used parameter in Odoo is <em>--disable-smart-shrinking</em>, 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,...).</p> <a name="usage"></a> <h3>Usage</h3> <p># Go to <em>Settings</em> and press 'Activate the developer mode (with assets)'</p> <p># Go to <em>Settings - Technical - Reports - Paper Format</em></p> <dl class="docutils"> <dt># Add additional parameters indicating the command argument name (remember to</dt> <dd>add prefix -- or -) and value.</dd> </dl> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/149/10.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/server-tools/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.</p> <a name="credits"></a> <h3>Credits</h3> <a name="images"></a> <h4>Images</h4> <ul class="simple"> <li>Odoo Community Association: <a class="reference external" href="https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg">Icon</a>.</li> </ul> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Miku Laitinen &lt;<a class="reference external" href="mailto:miku&#64;avoin.systems">miku&#64;avoin.systems</a>&gt;</li> <li>Jordi Ballester &lt;<a class="reference external" href="mailto:jordi.ballester&#64;eficent.com">jordi.ballester&#64;eficent.com</a>&gt;</li> </ul> <a name="maintainer"></a> <h4>Maintainer</h4> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>This module is maintained by the OCA.</p> <p>OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.</p> <p>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>