summaryrefslogtreecommitdiff
path: root/doc/reference/reports.rst
diff options
context:
space:
mode:
authorJairo Llopis <j.llopis@grupoesoc.es>2015-11-20 15:18:27 +0100
committerSimon Lejeune <sle@openerp.com>2015-11-20 15:21:56 +0100
commit4eab4d786805ecfd9bdff0b013ff831c4984cc99 (patch)
treee0954d19ae42133024cfb9acf5984ee3e6a53e84 /doc/reference/reports.rst
parent777f215edb7a0ce29f6724ad0792eb1d02b7d592 (diff)
[DOC] reports: clarification about styles
* correct xpath to add style in report.styles * informations about style troubleshoot closes #9105
Diffstat (limited to 'doc/reference/reports.rst')
-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 92760e98e78..44b8741109a 100644
--- a/doc/reference/reports.rst
+++ b/doc/reference/reports.rst
@@ -205,19 +205,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: