From 152f92916bc36d00c0e59fbc49fb655a4fd85908 Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Tue, 17 Jan 2012 22:59:49 +0100 Subject: [PATCH] [FIX] QWeb: well... ahem... This is embarassing... bzr revid: fme@openerp.com-20120117215949-36uxh7r1izvah35l --- addons/web/static/lib/qweb/qweb2.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); }*/