I need to add a default filter, for the tree view of my module.
I saw some code example in openerp, like this one:
You need a search view, and a context entry in act_window:
module.class.select
module.class
xxx
module.class
form
{"search_default_type_date":1}
I left the group entries in so you could see what they look like, but you'll need to either remove them or adjust them so they match your data. Also, the words module
and class
should be replaced with your data.