Skip to content

Commit

Permalink
[IMP] doc: try to clarify what $as is in qweb doc
Browse files Browse the repository at this point in the history
  • Loading branch information
xmo-odoo committed Nov 18, 2014
1 parent d247f6c commit d80f2a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/reference/qweb.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d80f2a7

Please sign in to comment.