From d80f2a716bab0e727fde2c477d1e580047423445 Mon Sep 17 00:00:00 2001 From: xmo-odoo Date: Tue, 18 Nov 2014 13:53:20 +0100 Subject: [PATCH] [IMP] doc: try to clarify what $as is in qweb doc --- doc/reference/qweb.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/reference/qweb.rst b/doc/reference/qweb.rst index 47a4d0a2774..08170da0d23 100644 --- a/doc/reference/qweb.rst +++ b/doc/reference/qweb.rst @@ -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