diff options
| author | Christophe Matthieu <chm@odoo.com> | 2018-07-30 10:27:08 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2018-08-13 17:09:28 +0200 |
| commit | 19106533d3f2518e764fcb05a26ca562f58219e6 (patch) | |
| tree | 49f09ada93d7dcf86038c585ee871f102bf5af41 /addons/web/static | |
| parent | 9a98a4d60e36ea7d9f29ea52a1524501ebff84de (diff) | |
[FIX] qweb: t-call can be called with an id
Following the new studio features, the use of t-call in templates with
the id occurs. Doing the verification of the integer type of the template
in addition to checking whether the value of type string is a number or
not should be done at different levels. It is therefore simpler to ensure
that the value is a number or an xml_id in compile which is the entry
point of the render and t-call.
The cache made on compile does not change because we have no case where a
template is called with a number of type string in addition to being
called with an integer.
Diffstat (limited to 'addons/web/static')
0 files changed, 0 insertions, 0 deletions
