[FIX]extend two context.
lp bug: https://launchpad.net/bugs/906236 fixed bzr revid: vme@tinyerp.com-20111227114409-czwzx077hvjvjnee
This commit is contained in:
@@ -252,7 +252,8 @@ 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() : {};
|
||||
ar ctx = widget.build_context ?
|
||||
_.extend(widget.build_context(),self.dataset.context):{};
|
||||
return ctx;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user