Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions content/applications/productivity/studio/pdf_reports.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ PDF reports

With Studio, you can edit existing PDF reports (e.g., orders and quotations) or create new ones.

.. important::
To edit a standard PDF report, it is strongly recommended to **duplicate** it and make changes to
the duplicated version, as changes made to standard reports will be overwritten after an Odoo
upgrade. To duplicate a report, go to :menuselection:`Studio --> Reports`. Hover the mouse
pointer on the top right corner of the report, click the vertical ellipsis icon (:guilabel:`⋮`),
and then select :guilabel:`Duplicate`.

.. image:: pdf_reports/duplicate-report.png
:alt: Duplicating a PDF report

.. _studio/pdf-reports/default-layout:

Default layout
Expand All @@ -29,25 +39,21 @@ Four layouts are available.
.. tab:: Light

.. image:: pdf_reports/light.png
:align: center
:alt: Light report layout sample

.. tab:: Boxed

.. image:: pdf_reports/boxed.png
:align: center
:alt: Boxed report layout sample

.. tab:: Bold

.. image:: pdf_reports/bold.png
:align: center
:alt: Bold report layout sample

.. tab:: Striped

.. image:: pdf_reports/striped.png
:align: center
:alt: Striped report layout sample

.. _studio/pdf-reports/default-layout/font:
Expand Down Expand Up @@ -133,11 +139,10 @@ Use the :guilabel:`Paper format` field to change the paper size of reports. You

.. tip::
You can change the :guilabel:`Paper format` on individual reports. Open the app containing the
report, then :menuselection:`Toggle Studio --> Reports --> Select or Create a report --> Report
report, then go to :menuselection:`Studio --> Reports --> Select or Create a report --> Report
--> Select a Paper format`.

.. image:: pdf_reports/default-layout.png
:align: center
:alt: Configuration pop-up window for the default layout of PDF reports

.. _studio/pdf-reports/header-footer:
Expand All @@ -164,15 +169,13 @@ set on the *Company* model: the :guilabel:`Company Name`, :guilabel:`Phone`, :gu
To change a company's information, go to :menuselection:`Settings --> Companies --> Update Info`.

.. image:: pdf_reports/external-header.png
:align: center
:alt: Example of an External header

The footer displays the values set on the :ref:`studio/pdf-reports/default-layout/footer`,
:ref:`studio/pdf-reports/default-layout/details`, and
:ref:`studio/pdf-reports/default-layout/tagline` fields, as well as the page number.

.. image:: pdf_reports/external-footer.png
:align: center
:alt: Example of an External footer

.. _studio/pdf-reports/header-footer/internal:
Expand Down Expand Up @@ -226,7 +229,6 @@ Block elements start on a new line and occupy the full width of the page.
model): *Name*, *Address*, *Phone*, *Mobile*, and *Email*.

.. image:: pdf_reports/address-block.png
:align: center
:alt: Example of an Address Block

.. _studio/pdf-reports/elements/inline:
Expand Down Expand Up @@ -257,7 +259,6 @@ Table elements are used together to create a data table.
<studio/fields/relational-fields/one2many>` field on your model.

.. image:: pdf_reports/data-table.png
:align: center
:alt: Example of a Data table

- :guilabel:`Field Column`: add a new column to the table displaying the values of a :ref:`Related
Expand Down Expand Up @@ -307,7 +308,6 @@ Options tab
Select an element on the report to access the element's options and edit it.

.. image:: pdf_reports/text-options-tab.png
:align: center
:alt: The Options tab for a text element

.. note::
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.