Odoo Help

0

filter domain functionality?

By
Prakash
on 5/14/13, 11:13 AM 4,581 views

In Openerp version 7 sale order Search View

filter_domain="['|',('name','ilike',self),('client_order_ref','ilike',self)]"

can u please guide me the above line filter domain how its works? suppose the above line removed in sale orders what changes will be happen in search functionality?

This will search for Sale order name or Customer Reference

Shelton
on 5/14/13, 11:19 AM
0
Wolfgang Taferner
On 5/21/13, 6:58 AM

The filter domain is namely used for a search field. You can use it in a search view on a field to apply the user input (search string) on this field to get back search results.

If you remove this line the filter for this field will not search based on the given domain (match on name or client_order_ref) anymore but probably only on the field "name" (depends on the field).

Here the link (http://doc.openerp.com/trunk/developers/server/03_module_dev_03/#filter-tag) for the attribute

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

Asked: 5/14/13, 11:13 AM
Seen: 4581 times
Last updated: 3/16/15, 8:10 AM