Repository
OCA/web · module folder · Try on Runboat
Module version
1.1.0
Category
Uncategorized
Folder size
0.05 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/web
Last tracking update
2026-08-07 08:22:54
Authors
Odoo Community Association (OCA), Binhex
Maintainers
Odoo Community Association (OCA), Binhex
Committers
Weblate, OCA-git-bot, oca-ci, Abraham Jesús
Odoo dependencies
odoo/odoo:
- web
Python dependencies
None
System dependencies
None
Required by
None
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 |

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
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_size Selection
    readonly=False related='company_id.report_font_size' string='Font size'
Public methods (0)

No public methods.

New fields (1)
  • report_font_size Selection
    default='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'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, values)

Loading…