[FIX] keep t as template name for templates
bzr revid: fp@openerp.com-20130810203756-votwz009a3m3bf2b
This commit is contained in:
parent
97760d0af3
commit
e59fe5ff90
|
@ -848,7 +848,9 @@ form: module.record_id""" % (xml_id,)
|
|||
# set the full template name for qweb <module>.<id>
|
||||
if (not el.get('inherit_id', False)) and (not el.get('inherit_option_id', False)):
|
||||
el.attrib['t-name'] = '%s.%s' % (module, tpl_id)
|
||||
el.tag = 'data'
|
||||
el.tag = 't'
|
||||
else:
|
||||
el.tag = 'data'
|
||||
el.attrib.pop('id', None)
|
||||
|
||||
record = etree.Element('record')
|
||||
|
|
Loading…
Reference in New Issue