|
@ -130,11 +130,13 @@ var MisReport = form_common.FormWidget.extend({ |
|
|
|
|
|
|
|
|
drilldown: function(event) { |
|
|
drilldown: function(event) { |
|
|
var self = this; |
|
|
var self = this; |
|
|
|
|
|
var context = new data.CompoundContext(self.build_context(), self.get_context()|| {}); |
|
|
var drilldown = $(event.target).data("drilldown"); |
|
|
var drilldown = $(event.target).data("drilldown"); |
|
|
if (drilldown) { |
|
|
if (drilldown) { |
|
|
new Model("mis.report.instance").call( |
|
|
new Model("mis.report.instance").call( |
|
|
"drilldown", |
|
|
"drilldown", |
|
|
[self.mis_report_instance_id, drilldown] |
|
|
|
|
|
|
|
|
[self.mis_report_instance_id, drilldown], |
|
|
|
|
|
{'context': context} |
|
|
).then(function(result) { |
|
|
).then(function(result) { |
|
|
if (result) { |
|
|
if (result) { |
|
|
self.do_action(result); |
|
|
self.do_action(result); |
|
|