Hello,
Is the default filter is included in the action code in version 7 openerp ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
As for 6.1, you can use the context: {'search_default_FILTER_NAME':1}
See how the Installed Module menu action works:
<record id="open_module_tree" model="ir.actions.act_window">
<field name="name">Installed Modules</field>
<field name="res_model">ir.module.module</field>
<field name="view_type">form</field>
<field name="view_mode">kanban,tree,form</field>
<field name="context">{'search_default_installed':1}</field>
<field name="search_view_id" ref="view_module_filter"/>
<field name="help" type="html">
<p><b>No module found!</b></p>
<p>You should try others search criteria.</p>
</field>
</record>
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
0
Mar 15
|
4923 | |||
|
1
Jan 25
|
2275 | |||
|
2
Apr 24
|
5749 | |||
|
2
Oct 22
|
5119 | |||
|
0
Aug 16
|
3763 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.