OCA reporting engine fork for dev and update.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
2.2 KiB

  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html
  3. :alt: License: AGPL-3
  4. ========================
  5. Report Wkhtmltopdf Param
  6. ========================
  7. This module allows you to add new parameters for a paper format which are
  8. then forwarded to wkhtmltopdf command as arguments. To display the arguments
  9. that wkhtmltopdf accepts go to your command line and type 'wkhtmltopdf -H'.
  10. A commonly used parameter in Odoo is *--disable-smart-shrinking*, that will
  11. disable the automatic resizing of the PDF when converting. This is
  12. important when you intend to have a layout that conforms to certain alignment.
  13. It is very common whenever you need to conform the PDF to a predefined
  14. layoyut (e.g. checks, official forms,...).
  15. Usage
  16. =====
  17. #. Go to *Settings* and press 'Activate the developer mode (with assets)'
  18. #. Go to *Settings - Technical - Reports - Paper Format*
  19. #. Add additional parameters indicating the command argument name (remember to
  20. add prefix -- or -) and value.
  21. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
  22. :alt: Try me on Runbot
  23. :target: https://runbot.odoo-community.org/runbot/143/11.0
  24. Bug Tracker
  25. ===========
  26. Bugs are tracked on `GitHub Issues
  27. <https://github.com/OCA/server-tools/issues>`_. In case of trouble, please
  28. check there if your issue has already been reported. If you spotted it first,
  29. help us smashing it by providing a detailed and welcomed feedback.
  30. Credits
  31. =======
  32. Images
  33. ------
  34. * Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
  35. Contributors
  36. ------------
  37. * Miku Laitinen <miku@avoin.systems>
  38. * Jordi Ballester <jordi.ballester@eficent.com>
  39. Maintainer
  40. ----------
  41. .. image:: https://odoo-community.org/logo.png
  42. :alt: Odoo Community Association
  43. :target: https://odoo-community.org
  44. This module is maintained by the OCA.
  45. OCA, or the Odoo Community Association, is a nonprofit organization whose
  46. mission is to support the collaborative development of Odoo features and
  47. promote its widespread use.
  48. To contribute to this module, please visit https://odoo-community.org.