summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2015-11-25 13:26:02 +0100
committerChristophe Simonis <chs@odoo.com>2015-11-25 13:26:02 +0100
commit56a442e205f7837282f3f74afd0694bfe3a64ca1 (patch)
treef964cf6899e0000202d9b7acaabe18023b2d9257 /doc/reference
parent8d3bdf6b50382020ae3d98d8911c3a136e17d519 (diff)
parentdade7e3c1790bf54187618b0a1c4befab935dfd5 (diff)
[MERGE] forward port of branch saas-6 up to dade7e3
Diffstat (limited to 'doc/reference')
-rw-r--r--doc/reference/reports.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/reference/reports.rst b/doc/reference/reports.rst
index ca3befe6596..1ee0f629013 100644
--- a/doc/reference/reports.rst
+++ b/doc/reference/reports.rst
@@ -216,19 +216,20 @@ Useful Remarks
* Twitter Bootstrap and FontAwesome classes can be used in your report
template
* Local CSS can be put directly in the template
-
* Global CSS can be inserted in the main report layout by inheriting its
template and inserting your CSS::
- <template id="report_saleorder_style" inherit_id="report.layout">
- <xpath expr="//style" position="after">
- <style type="text/css">
+ <template id="report_saleorder_style" inherit_id="report.style">
+ <xpath expr=".">
+ <t>
.example-css-class {
background-color: red;
}
- </style>
+ </t>
</xpath>
</template>
+* If it appears that your PDF report is missing the styles, please check
+ :ref:`these instructions <reference/backend/reporting/printed-reports/pdf-without-styles>`.
.. _reference/reports/paper_formats: