[FIX] qweb.py: t-set t-value

bzr revid: chm@openerp.com-20130702120018-w9llyk8indqyywmo
This commit is contained in:
Christophe Matthieu 2013-07-02 14:00:18 +02:00
parent 641c4fe784
commit f34b894b22
1 changed files with 2 additions and 2 deletions

View File

@ -270,8 +270,8 @@ class QWebXml(object):
return self.render(t_att["call"], d)
def render_tag_set(self, e, t_att, g_att, v):
if "eval" in t_att:
v[t_att["set"]] = self.eval_object(t_att["eval"], v)
if "value" in t_att:
v[t_att["set"]] = self.eval_object(t_att["value"], v)
else:
v[t_att["set"]] = self.render_element(e, t_att, g_att, v)
return ""