[IMP] qweb: foreach handling
authorXavier Morel <xmo@openerp.com>
Thu, 11 Sep 2014 09:23:13 +0000 (11:23 +0200)
committerXavier Morel <xmo@openerp.com>
Mon, 6 Oct 2014 17:13:45 +0000 (19:13 +0200)
commitc5dca416daf8441f57564fdd77beeaa1b27f5bdb
tree6a8326dd95d6e1b45212cbc9fa288e8b7b23876a
parentd5e3d121e3733de189605da7f830ff3d7c20b8d8
[IMP] qweb: foreach handling

* fix mapping handling to match JS impl: current value set as _value instead
  of being lost
* add handling of integer parameter
* only set _size and _last if current iterable is sized
openerp/addons/base/ir/ir_qweb.py