diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-07-26 15:12:29 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-07-26 15:12:29 +0200 |
| commit | bfd34e14b1be97465e135d85c76b9e626a219e7a (patch) | |
| tree | 8de54ec8f504158e965ab92e21658cab539024ee /doc/reference/qweb.rst | |
| parent | 26b5b446b3dab3d66b7db054ca77e7b1a811c28a (diff) | |
| parent | 40e8b67179f212551a176d72b3851671febc1fba (diff) | |
[MERGE] forward port branch saas-12.3 up to 40e8b67179f
Diffstat (limited to 'doc/reference/qweb.rst')
| -rw-r--r-- | doc/reference/qweb.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/reference/qweb.rst b/doc/reference/qweb.rst index 2954d0bf167..f4f464f7aa9 100644 --- a/doc/reference/qweb.rst +++ b/doc/reference/qweb.rst @@ -490,6 +490,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`` |
