Odoo Help

Welcome!

This community 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.

0

filter domain functionality?

By
Prakash
on 5/14/13, 11:13 AM 3,577 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

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