[BRK] Disable automatic t-href on ir.ui.view#save() that breaks most of the snippets

Temporary desactivated because this breaks most of the snippets
Need to find another way to normalize multilang urls (postprocessing) ?

bzr revid: fme@openerp.com-20131030085425-inwkihpwqmierodx
This commit is contained in:
Fabien Meghazi 2013-10-30 09:54:25 +01:00
parent 4a3f51bb4e
commit f747a84131
1 changed files with 3 additions and 1 deletions

View File

@ -131,7 +131,9 @@ class view(osv.osv):
arch_section = html.fromstring(
value, parser=html.HTMLParser(encoding='utf-8'))
self._normalize_urls(arch_section)
# TODO fme: Temporary desactivated because this breaks most of the snippets
# Need to find another way to normalize multilang urls (postprocessing) ?
# self._normalize_urls(arch_section)
if xpath is None:
# value is an embedded field on its own, not a view section