[FIX] templates: Set tagname for qweb

bzr revid: fme@openerp.com-20130722105938-49hcqq8ip5xsid8h
This commit is contained in:
Fabien Meghazi 2013-07-22 12:59:38 +02:00
parent cb56924437
commit 31cd39e0df
1 changed files with 1 additions and 0 deletions

View File

@ -837,6 +837,7 @@ form: module.record_id""" % (xml_id,)
# set the full template name for qweb <module>.<id>
el.attrib['t-name'] = '%s.%s' % (module, tpl_id)
el.attrib.pop('id', None)
el.tag = 't'
record = etree.Element('record')
record_attrs = {