From f747a841315569306e37a4ab5e2d0962c9ff764c Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Wed, 30 Oct 2013 09:54:25 +0100 Subject: [PATCH] [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 --- addons/website/models/ir_ui_view.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/website/models/ir_ui_view.py b/addons/website/models/ir_ui_view.py index ab09336d6cb..123557a625e 100644 --- a/addons/website/models/ir_ui_view.py +++ b/addons/website/models/ir_ui_view.py @@ -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