diff options
| author | Martin Trigaux <mat@odoo.com> | 2019-07-23 09:55:56 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2019-07-23 13:41:00 +0200 |
| commit | e266c7c98a6a4b89c13eb7eb38709cc0251ea47f (patch) | |
| tree | 1b27ca28cac9f1d8577ae2bf14d0682e8920f05f /doc/reference | |
| parent | 5c705c51cd8377b1c6e1bb2513db34afe48189ee (diff) | |
| parent | 5e4c1b370123dee4e6d6a91cd9582ba41c4d8bd4 (diff) | |
[MERGE] Forward port of 12.0 to saas-12.2 up to 5e4c1b370123dee
Diffstat (limited to 'doc/reference')
| -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`` |
