From 6ebcc061523b60bb81aa837f93ce2f2a03f6d37f Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Fri, 25 Sep 2015 17:06:39 +0200 Subject: [PATCH] [FIX] web_editor: remove 'lang' from the context to save master website xml --- addons/web_editor/static/src/js/rte.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web_editor/static/src/js/rte.js b/addons/web_editor/static/src/js/rte.js index 8ba34b8866a..39f52c8c66b 100644 --- a/addons/web_editor/static/src/js/rte.js +++ b/addons/web_editor/static/src/js/rte.js @@ -443,7 +443,7 @@ var RTE = Widget.extend({ $el.data('oe-id'), markup, $el.data('oe-xpath') || null, - context || base.get_context() + _.omit(context || base.get_context(), 'lang') ], }); },