Change reports font size from the document layout configurator
Project description
This module allows you to change the reports font size from the document layout configurator.
It also allows to customize all the reports css to users with debug mode
Table of contents
Configuration
To configure this module, you need to:
Go to Settings / General Settings / Companies, and click on the ‘Configure Document Layout’ button
You can the edit text size, text size unit, header size, and header size unit
If you activate the debug mode, you can manually change the css of all reports. Only recomended for developers
Usage
To use this module, print a report after changing the configuration. The font size will be your configured one.
Known issues / Roadmap
If a report uses special custom classes, the font size cannot be changed. It is not common, but it has been detected that it happens with the direction of boxed reports. It can also happen if a report uses headers other than h2. If this happens to you, tell the technician who creates CSS for you. Example to solve the size of headers 1, and the direction of the boxed:
font-size: 20px; h1 { font-size: 40px; } .o_boxed_header { font-size: 20px; }
Migrations between v15 y v18 should de fast and easy.
More css units can be added.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Valentin Vinagre valentin.vinagre@sygel.es
Alberto Martínez alberto.martinez@sygel.es
Harald Panten harald.panten@sygel.es
Maintainers
This module is part of the sygel-technology/sy-server-backend project on GitHub.
You are welcome to contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo_addon_reports_font_size-17.0.1.0.0.1-py3-none-any.whl
.
File metadata
- Download URL: odoo_addon_reports_font_size-17.0.1.0.0.1-py3-none-any.whl
- Upload date:
- Size: 43.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57ae4979829e3ef2402da6d7f53eca35b24e11e6958abbabd9a14e7a65570a5c |
|
MD5 | 7d95de20dc66368ee46b88754eef1af1 |
|
BLAKE2b-256 | be96b659fb0e551970fefe08577b24799a2d94b894998920150db203509c5a86 |