Skip to content

Conversation

syci
Copy link

@syci syci commented Sep 1, 2025

Odoo’s default report layout uses a fixed font size for all PDF documents.
In many real use cases, especially when invoice or sales order lines include long product descriptions or detailed content, this results in documents that are difficult to read or excessively long.

This module introduces a configurable font size in the Document Layout settings.
Administrators can choose between 9pt, 10pt, 12pt, and 14pt to optimize readability and space usage, adapting reports to company needs (compactness vs. visibility).

@syci syci force-pushed the 17.0-web_font_size_report_layout branch from 39d08d8 to 12babe1 Compare September 3, 2025 11:13
@syci syci force-pushed the 17.0-web_font_size_report_layout branch from 12babe1 to 68cf1b3 Compare September 3, 2025 11:38
@AnsarLatif
Copy link

Tested on Odoo 17 CE — font size controls work in report editor, PDFs render cleanly. Functionality as expected.

ajfebres and others added 17 commits September 25, 2025 08:57
…ned variable

For an unknown reason, when running the tests, the session does not have all variables filled, so apps_menu is undefined.
This causes an error in tours of other modules: "Cannot read properties of undefined (reading 'theme')".

The curious thing is that if you run the tests of this module alone, they pass.
But when running tests together with another module, tests from the other module fail.
For example, when running tests with the voip_oca module.
Currently translated at 100.0% (12 of 12 strings)

Translation: web-17.0/web-17.0-web_pwa_customize
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_pwa_customize/it/
use components to render axes and aggregates, allowing custom widgets
there
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-17.0/web-17.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_widget_x2many_2d_matrix/
Currently translated at 100.0% (8 of 8 strings)

Translation: web-17.0/web-17.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_widget_x2many_2d_matrix/it/
Currently translated at 96.7% (30 of 31 strings)

Translation: web-17.0/web-17.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_responsive/fr/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants