diff options
| author | Christophe Matthieu <chm@odoo.com> | 2016-07-05 08:08:19 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2016-07-05 18:44:58 +0200 |
| commit | 032122484e78819cfa6ac9dc89a8d9dcf02dab01 (patch) | |
| tree | 6bbd3a53b497555f735304a611b1bca3a9dd2942 /doc/reference | |
| parent | 940e23a7dc0b386d28afe3b4515f5dab49a1a994 (diff) | |
[TYPO] qweb: use the same option attribute for t-esc t-raw and t-field
t-options instead of t-field-options
Diffstat (limited to 'doc/reference')
| -rw-r--r-- | doc/reference/qweb.rst | 2 | ||||
| -rw-r--r-- | doc/reference/reports.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/reference/qweb.rst b/doc/reference/qweb.rst index fc4ecd43aca..1fa29212998 100644 --- a/doc/reference/qweb.rst +++ b/doc/reference/qweb.rst @@ -334,7 +334,7 @@ The ``t-field`` directive can only be used when performing field access to automatically format based on field type, and is integrated in the website's rich text edition. -``t-field-options`` can be used to customize fields, the most common option +``t-options`` can be used to customize fields, the most common option is ``widget``, other options are field- or widget-dependent. debugging diff --git a/doc/reference/reports.rst b/doc/reference/reports.rst index f1b4acfd479..64545fd5729 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="{"no_marker": True}"/> + <div t-field="doc.partner_invoice_id" t-options="{"no_marker": True}"/> <...> <div class="oe_structure"/> </div> |
