projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
516c81b
)
[IMP] QWeb: allow t-call to use dynamic template name using string interpolation
author
Fabien Meghazi
<fme@openerp.com>
Wed, 21 Aug 2013 15:35:07 +0000
(17:35 +0200)
committer
Fabien Meghazi
<fme@openerp.com>
Wed, 21 Aug 2013 15:35:07 +0000
(17:35 +0200)
bzr revid: fme@openerp.com-
20130821153507
-qlh3aaytsouupx1m
openerp/tools/qweb.py
patch
|
blob
|
history
diff --git
a/openerp/tools/qweb.py
b/openerp/tools/qweb.py
index
184cb39
..
b1f6612
100644
(file)
--- a/
openerp/tools/qweb.py
+++ b/
openerp/tools/qweb.py
@@
-301,7
+301,7
@@
class QWebXml(object):
else:
d = QWebContext(v.copy(), self.undefined_handler)
d[0] = self.render_element(e, t_att, g_att, d)
- return self.render(t_att["call"], d)
+ return self.render(self.eval_format(t_att["call"], d), d)
def render_tag_set(self, e, t_att, g_att, v):
if "value" in t_att: