[IMP] doc: try to clarify what $as is in qweb doc
authorxmo-odoo <xmo-odoo@users.noreply.github.com>
Tue, 18 Nov 2014 12:53:20 +0000 (13:53 +0100)
committerxmo-odoo <xmo-odoo@users.noreply.github.com>
Tue, 18 Nov 2014 12:53:20 +0000 (13:53 +0100)
doc/reference/qweb.rst

index 47a4d0a..08170da 100644 (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