[fix] problem with email template preview
bzr revid: nicolas.vanhoren@openerp.com-20120112153419-morwrmy7ozqxup6f
This commit is contained in:
commit
059a8068f2
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue