Report Font Size in Document Layout
web_font_size_report_layout · OCA/web
Health
73/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
0 migration notes
2 models
7 views
0 HTTP endpoints
Description
This Odoo module adds the capability to customize font size in all PDF reports throughout the system. Through a simple configuration, administrators can select from a range of predefined font sizes (measured in points) to optimize readability and appearance of invoices, quotations, sales orders, and other printed documents.
The module offers the following font size options (in points):
| Option | Size | Description |
|---|---|---|
| Extra Small | 9pt | For maximum compactness |
| Standard | 10pt | Odoo's default size |
| Small | 11pt | Just a little larger |
| Large | 12pt | Better readability |
| Extra Large | 13pt | Really Large |
| 2Extra Large | 14pt | For high visibility needs |
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 7
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
external_layout_bold_fontsize |
external_layout_bold_fontsize | ir.ui.view | qweb | Inherits web.external_layout_bold |
external_layout_boxed_fontsize |
external_layout_boxed_fontsize | ir.ui.view | qweb | Inherits web.external_layout_boxed |
external_layout_global_fontsize |
external_layout_global_fontsize | ir.ui.view | qweb | Inherits web.external_layout |
external_layout_standard_fontsize |
external_layout_standard_fontsize | ir.ui.view | qweb | Inherits web.external_layout_standard |
external_layout_striped_fontsize |
external_layout_striped_fontsize | ir.ui.view | qweb | Inherits web.external_layout_striped |
styles_company_report_global_fontsize |
styles_company_report_global_fontsize | ir.ui.view | qweb | Inherits web.styles_company_report |
view_base_document_layout_inherit_font_size |
base.document.layout.font.size | base.document.layout | Inherits web.view_base_document_layout |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (1)
-
report_font_sizeSelectionreadonly=Falserelated='company_id.report_font_size'string='Font size'
No public methods.
New fields (1)
-
report_font_sizeSelectiondefault='11'help='Base font size for PDF content (in points), applied on the external report layout.'selection=[('9', '9 pt'), ('10', '10 pt'), ('11', '11 pt'), ('12', '12 pt'), ('13', '13 pt'), ('14', '14 pt')]string='Report font size'
-
create(self, vals_list)@api.model_create_multi -
write(self, values)
Loading…
Loading…
Loading…