Report Font Size in Document Layout

web_font_size_report_layout
REPOSITORY
REPOSITORYOCA/web
GIT
GIThttps://github.com/OCA/web.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/web/tree/17.0/web_font_size_report_layout
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Binhex
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Binhex
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Abraham Jesús
WEBSITE
WEBSITEhttps://github.com/OCA/web
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - web
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 xpath Inherits web.view_base_document_layout
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)
REPOSITORY
REPOSITORYOCA/web
GIT
GIThttps://github.com/OCA/web.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/web/tree/16.0/web_font_size_report_layout
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Binhex
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Binhex
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Abraham Jesús
WEBSITE
WEBSITEhttps://github.com/OCA/web
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:11:53
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - web
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 |
|--------|------|-------------|
| Small | 9pt | For maximum compactness |
| Standard | 10pt | Odoo's default size |
| Large | 12pt | Better readability |
| Extra 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 xpath Inherits web.view_base_document_layout
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)