Update qweb.rst
closes odoo/documentation#3288
X-original-commit: 8cde1f7b74
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
parent
1b701dc6f3
commit
9705552a6b
@ -304,7 +304,7 @@ the call above will be rendered as ``<p/>`` (no content), but::
|
||||
|
||||
will be rendered as ``<p>1</p>``.
|
||||
|
||||
However this has the problem of being visible from outside the ``t-call``.
|
||||
However, this has the problem of being visible from outside the ``t-call``.
|
||||
Alternatively, content set in the body of the ``call`` directive will be
|
||||
evaluated *before* calling the sub-template, and can alter a local context::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user