[imp] added manage filters link
bzr revid: nicolas.vanhoren@openerp.com-20110725121001-95af30c1incqg4kl
This commit is contained in:
parent
6a22efdef0
commit
f7c6662d83
|
@ -211,7 +211,14 @@ openerp.base.SearchView = openerp.base.Controller.extend({
|
|||
});
|
||||
} else { // manage_filters
|
||||
select.val("_filters");
|
||||
//TODO niv
|
||||
this.do_action({
|
||||
res_model: 'ir.filters',
|
||||
views: [[false, 'list'], [false, 'form']],
|
||||
type: 'ir.actions.act_window',
|
||||
context: {"search_default_user_id": this.session.uid,
|
||||
"search_default_model_id": this.dataset.model},
|
||||
target: "current"
|
||||
});
|
||||
}
|
||||
},
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue