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