summaryrefslogtreecommitdiff
path: root/doc/reference/reports.rst
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2016-06-14 14:26:28 +0200
committerChristophe Matthieu <chm@odoo.com>2016-06-14 14:26:42 +0200
commit78b52fb637c0dbd68ca8089e048781a89e3efed5 (patch)
tree122db827fa22ca8bf76006a0efe125475d5cb6a2 /doc/reference/reports.rst
parent965b7d060cc8555451709a5d77461a041ce20e0e (diff)
[FIX] templates: remplace true by True for t-field-options
t-field-options is a python dictionary. 'true' is evaluated as None because the qweb did not find any value for 'true' key.
Diffstat (limited to 'doc/reference/reports.rst')
-rw-r--r--doc/reference/reports.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/reference/reports.rst b/doc/reference/reports.rst
index f4b76a12cff..f1b4acfd479 100644
--- a/doc/reference/reports.rst
+++ b/doc/reference/reports.rst
@@ -161,7 +161,7 @@ For example, let's look at the Sale Order report from the Sale module::
<div class="col-xs-6">
<strong t-if="doc.partner_shipping_id == doc.partner_invoice_id">Invoice and shipping address:</strong>
<strong t-if="doc.partner_shipping_id != doc.partner_invoice_id">Invoice address:</strong>
- <div t-field="doc.partner_invoice_id" t-field-options="{&quot;no_marker&quot;: true}"/>
+ <div t-field="doc.partner_invoice_id" t-field-options="{&quot;no_marker&quot;: True}"/>
<...>
<div class="oe_structure"/>
</div>