diff --git a/addons/web/static/lib/qweb/qweb2.js b/addons/web/static/lib/qweb/qweb2.js index f6d11fe0b02..8657a8b20be 100644 --- a/addons/web/static/lib/qweb/qweb2.js +++ b/addons/web/static/lib/qweb/qweb2.js @@ -329,7 +329,8 @@ QWeb2.Engine = (function() { " return r.join('');"; }, render : function(template, dict) { - QWeb2.tools.extend(dict || {}, this.default_dict); + dict = dict || {}; + QWeb2.tools.extend(dict, this.default_dict); /*if (this.debug && window['console'] !== undefined) { console.time("QWeb render template " + template); }*/