Skip to content

Commit af93e65

Browse files
committed
[IMP] studio: add a note about duplicating standard reports
Task ID: 3301013 closes #4337 Signed-off-by: Platteau Xavier (xpl) <xpl@odoo.com>
1 parent bea00ec commit af93e65

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

content/applications/productivity/studio/pdf_reports.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ PDF reports
44

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

7+
.. important::
8+
To edit a standard PDF report, it is strongly recommended to **duplicate** it and make changes to
9+
the duplicated version, as changes made to standard reports will be overwritten after an Odoo
10+
upgrade. To duplicate a report, go to :menuselection:`Studio --> Reports`. Hover the mouse
11+
pointer on the top right corner of the report, click the vertical ellipsis icon (:guilabel:``),
12+
and then select :guilabel:`Duplicate`.
13+
14+
.. image:: pdf_reports/duplicate-report.png
15+
:alt: Duplicating a PDF report
16+
717
.. _studio/pdf-reports/default-layout:
818

919
Default layout
@@ -29,25 +39,21 @@ Four layouts are available.
2939
.. tab:: Light
3040

3141
.. image:: pdf_reports/light.png
32-
:align: center
3342
:alt: Light report layout sample
3443

3544
.. tab:: Boxed
3645

3746
.. image:: pdf_reports/boxed.png
38-
:align: center
3947
:alt: Boxed report layout sample
4048

4149
.. tab:: Bold
4250

4351
.. image:: pdf_reports/bold.png
44-
:align: center
4552
:alt: Bold report layout sample
4653

4754
.. tab:: Striped
4855

4956
.. image:: pdf_reports/striped.png
50-
:align: center
5157
:alt: Striped report layout sample
5258

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

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

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

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

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

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

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

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

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

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

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

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

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

313313
.. note::
3.17 KB
Loading

0 commit comments

Comments
 (0)