[IMP] doc: try to clarify what $as is in qweb doc

This commit is contained in:
xmo-odoo 2014-11-18 13:53:20 +01:00
parent d247f6c9e2
commit d80f2a716b
1 changed files with 3 additions and 1 deletions

View File

@ -129,7 +129,9 @@ value), a mapping (the current item will be the current key) or an integer
integer exclusive).
In addition to the name passed via ``t-as``, ``foreach`` provides a few other
variables for various data points (``$as`` is the name passed to ``t-as``):
variables for various data points:
.. warning:: ``$as`` will be replaced by the name passed to ``t-as``
:samp:`{$as}_all`
the object being iterated over