When i redirect my page using self.do_action
in odoo(openERP7)
it is not loading Data Tables in the new page.
In other pages it was working fine. But in a particular page if i redirect using this self.do_action
is not working. But self.act_window
is working fine in the same page.
If any one faced this same issue please let me know.
Update:I found a similarity of problems in my code. I have a model like performance.review and some other models also. All the self.do_action
used in this model is not loading Data tables properly. But other model screens does perfectly.
Is there any relation between model extension and using self.do_action
?
Here is my code,
module.ReviewForm= instance.web.Widget.extend({
events: {
'click #review_tree_view':'load_tree_view',
},
load_tree_view: function (event) {
var self = this;
self.do_action({
type: 'ir.actions.client',
tag: "performance.review",
name:'Tree view',
target: 'current',
});
},