I had tried ('parent_id', '=', False) before as well and it did not gen the 
proper sql.


Using [('id', '>=', 0), ('parent_id', 'IS', None)] produces the following sql 
which is correct:
select res_company.id from "res_company" where res_company.id >= 0 AND 
(res_company.parent_id IS NULL) order by id

Using any of the '=' operators has not worked.

Regards,
Gerry




-------------------- m2f --------------------

--
http://www.openerp.com/forum/viewtopic.php?p=25281#25281

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to