[FIX] context evaluation: accumulation of literal and compound context data into evaluated context
bzr revid: xmo@openerp.com-20120307074641-pm5wl9t3cb4l9s64
This commit is contained in:
parent
96a5947f75
commit
98341230a7
|
@ -514,10 +514,11 @@ openerp.web.Connection = openerp.web.CallbackEnabled.extend( /** @lends openerp.
|
|||
_(contexts).each(function (ctx) {
|
||||
switch(ctx.__ref) {
|
||||
case 'context':
|
||||
_.extend(py.eval(ctx.__debug));
|
||||
_.extend(result_context, py.eval(ctx.__debug));
|
||||
break;
|
||||
case 'compound_context':
|
||||
_.extend(self.test_eval_contexts(ctx.__contexts));
|
||||
_.extend(
|
||||
result_context, self.test_eval_contexts(ctx.__contexts));
|
||||
break;
|
||||
default:
|
||||
_.extend(result_context, ctx);
|
||||
|
|
Loading…
Reference in New Issue