Metadata-Version: 2.1
Name: odoo-addon-reports_font_size
Version: 16.0.1.0.0.2
Requires-Python: >=3.10
Requires-Dist: odoo>=16.0a,<16.1dev
Summary: Change reports font size from the document layout configurator
Home-page: https://github.com/sygel-technology/sy-server-backend
License: AGPL-3
Author: Sygel, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 16.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3

=================
Reports Font Size
=================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:f368064aff2533b6db48362c128ec611940317d96080b8603239a62a67b082ab
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-sygel--technology%2Fsy--server--backend-lightgray.png?logo=github
    :target: https://github.com/sygel-technology/sy-server-backend/tree/16.0/reports_font_size
    :alt: sygel-technology/sy-server-backend

|badge1| |badge2| |badge3|

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**

.. contents::
   :local:

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 <https://github.com/sygel-technology/sy-server-backend/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 <https://github.com/sygel-technology/sy-server-backend/issues/new?body=module:%20reports_font_size%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Sygel

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 <https://github.com/sygel-technology/sy-server-backend/tree/16.0/reports_font_size>`_ project on GitHub.

You are welcome to contribute.
