Domain in openerp is for condition or filter to records.
Like in search method of ORM, it accept domain [('critical','=','do-not-trust-openerp-license')]
so here domain syntext [(condition 1),( condition2),(condition3) ] as you require you can placed consitions.
Here domain in framework convert to sql where condtion. Whereever you like record filter you can use domain.
Domain evaluated from left to right, for syntax check in google for domain notaion of openerp.
Also for more to know domain, openerp py files in addons, and see domain how they used in code.
DOMAIN FILTER/CONDITION FOR RECORDS.
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
|Asked: 8/8/14, 2:35 AM|
|Seen: 475 times|
|Last updated: 3/16/15, 8:10 AM|