[fix] problem with email template preview

bzr revid: nicolas.vanhoren@openerp.com-20120112153419-morwrmy7ozqxup6f
This commit is contained in:
niv-openerp 2012-01-12 16:34:19 +01:00
commit 059a8068f2
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ openerp.web.FormView = openerp.web.View.extend( /** @lends openerp.web.FormView#
'None': function () {return null;},
'context': function (i) {
context_index = i;
var ctx = widget.build_context ? widget.build_context() : {};
var ctx = new openerp.web.CompoundContext(self.dataset.get_context(), widget.build_context() ? widget.build_context() : {});
return ctx;
}
};