diff options
| author | Martin Trigaux <mat@odoo.com> | 2019-07-22 11:17:40 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2019-07-22 11:43:54 +0000 |
| commit | 324d3fc93a00a919d4a561f713ec2c5dd0d6b51c (patch) | |
| tree | 3487e89e219b6d3357635c7ed620447dadfab443 /doc/reference/qweb.rst | |
| parent | f58fa65c2bb1f6ec65b3b9ed7227975ce2799e83 (diff) | |
| parent | 06f8f0469915f6686d9f5f6f1ab5feff18722ffd (diff) | |
[MERGE] Forward port of saas-11.3 to 12.0 up to 06f8f046991
closes odoo/odoo#35064
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
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`` |
