[FIX] forces an update when the user switches back to the graph view, to make sure the data displayed are up to date (graph view, addon web_graph)
bzr revid: ged@openerp.com-20131226123449-qjm7hvkhfsdvi7pw
This commit is contained in:
parent
d145c7a8c4
commit
5a2ddfdf80
|
@ -119,6 +119,7 @@ instance.web_graph.GraphView = instance.web.View.extend({
|
|||
|
||||
if (!this.graph_widget.enabled) {
|
||||
this.graph_widget.activate_display();
|
||||
this.ViewManager.on('switch_mode', this, function () {this.graph_widget.pivot.update_data(); });
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue