[ADD] qweb @t-action

bzr revid: fme@openerp.com-20130926145342-ncl8ahoof6y6grj4
This commit is contained in:
Fabien Meghazi 2013-09-26 16:53:42 +02:00
parent ef800c1109
commit 581dad9316
1 changed files with 2 additions and 0 deletions

View File

@ -241,6 +241,8 @@ class QWebXml(object):
return self.url_for(e, an, av, v)
def render_att_src(self, e, an, av, v):
return self.url_for(e, an, av, v)
def render_att_action(self, e, an, av, v):
return self.url_for(e, an, av, v)
def url_for(self, e, an, av, v):
if 'url_for' not in v:
raise KeyError("qweb: no 'url_for' found in context")