[FIX] fix t-ignore
bzr revid: fme@openerp.com-20130731150422-p48vmtulerqqa4b9
This commit is contained in:
parent
656836cee9
commit
390c968e17
|
@ -727,7 +727,7 @@ class view(osv.osv):
|
|||
if e.attrib.get('data-oe-model'):
|
||||
# if a branded tag containg branded tag distribute to the childs
|
||||
child_text = "".join([etree.tostring(x, encoding='utf-8') for x in e])
|
||||
if re.search('(data-oe-model=|t-esc=|t-raw=|t-field=|t-call=)',child_text) or e.tag == "t" or 't-raw' in e.attrib:
|
||||
if re.search('(data-oe-model=|t-esc=|t-raw=|t-field=|t-call=|t-ignore=)',child_text) or e.tag == "t" or 't-raw' in e.attrib:
|
||||
for i in branding_copy:
|
||||
if e.attrib.get(i):
|
||||
branding_dist[i] = e.attrib.get(i)
|
||||
|
|
Loading…
Reference in New Issue