TIP: You can type at any time to perform a new search.
Report Wkhtmltopdf Param
report_wkhtmltopdf_param · OCA/reporting-engine
- 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
- 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_paramsOne2many → report.paperformat.parameterhelp='Custom Parameters passed forward as wkhtmltopdf command arguments' args: 'report.paperformat.parameter', 'paperformat_id', 'Custom Parameters'
No public methods.
New fields (3)
-
nameCharhelp='The command argument name. Remember to add prefix -- or -'required=True -
paperformat_idMany2one → report.paperformatrequired=True args: 'report.paperformat', 'Paper Format' -
valueChar
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…