summaryrefslogtreecommitdiff
path: root/doc/reference/qweb.rst
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2019-07-29 14:10:30 +0200
committerChristophe Simonis <chs@odoo.com>2019-07-29 14:10:30 +0200
commitd5e1fd16b4fd796cc25b2b2d694dadb375110ce7 (patch)
tree35d130b4161985cd9ca3071a59980b52e8401be5 /doc/reference/qweb.rst
parentae71f95371b4a5c99c10a23e3553c5badc45a1ac (diff)
parentcda4f3c308ca233aead81f5ae97d250b5b7bf82f (diff)
[MERGE] forward port branch saas-12.4 up to cda4f3c308c
Diffstat (limited to 'doc/reference/qweb.rst')
-rw-r--r--doc/reference/qweb.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/reference/qweb.rst b/doc/reference/qweb.rst
index a4a5b3769a4..8e984f68a73 100644
--- a/doc/reference/qweb.rst
+++ b/doc/reference/qweb.rst
@@ -491,6 +491,11 @@ on the extended template to select *context nodes* to which the specified
the node's body replaces the context node's children
``replace``
the node's body is used to replace the context node itself
+``attributes``
+ the nodes's body should be any number of ``attribute`` elements,
+ each with a ``name`` attribute and some textual content, the named
+ attribute of the context node will be set to the specified value
+ (either replaced if it already existed or added if not)
No operation
if no ``t-operation`` is specified, the template body is interpreted as
javascript code and executed with the context node as ``this``