Repository
OCA/reporting-engine · module folder · Try on Runboat
Module version
1.0.0
Category
Technical Settings
Folder size
0.28 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/reporting-engine
Last tracking update
2026-08-07 09:06:34
Authors
Odoo Community Association (OCA), Avoin.Systems, ForgeFlow
Maintainers
Odoo Community Association (OCA), Avoin.Systems, ForgeFlow
Committers
Weblate, OCA-git-bot, oca-ci, arantxa-s73
Odoo dependencies
odoo/odoo:
- web
Python dependencies
None
System dependencies
None
Required by
None
Description
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,...).

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
paperformat_view_form_custom paperformat with custom parameters report.paperformat form Inherits base.paperformat_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • custom_params One2many → report.paperformat.parameter
    help='Custom Parameters passed forward as wkhtmltopdf command arguments' args: 'report.paperformat.parameter', 'paperformat_id', 'Custom Parameters'
Public methods (0)

No public methods.

New fields (3)
  • name Char
    help='The command argument name. Remember to add prefix -- or -' required=True
  • paperformat_id Many2one → report.paperformat
    required=True args: 'report.paperformat', 'Paper Format'
  • value Char
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…