CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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.
About This Community
Odoo Training Center
|Asked: 8/8/14, 2:35 AM|
|Seen: 725 times|
|Last updated: 3/16/15, 8:10 AM|