[EMAIL PROTECTED] a écrit :
20c20
<&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OPS = &#40;'=', '!=', '<>', '<=', '<', '>', 
'>=', '=like', 'like', 'not like', 'ilike', 'not ilike', 'in', 'not in', 'child_of', 'is', 'IS'&#41;
---
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OPS = &#40;'=', '!=', '<>', '<=', '<', '>', '>=', 
'=like', 'like', 'not like', 'ilike', 'not ilike', 'in', 'not in', 'child_of'&#41;


Regards,
Gerry

In fact, it's not necessary.
Your domain must be written like this:

  ['&', ('id', '>=', 0 ), ('parent_id', '=', None)])

this is less 'sql' and avoid problems with, i.e., ('parent_id', 'is', 42) which will not work...

--
Christophe Simonis
Developer
OpenERP - Tiny sprl
Chaussée de Namur, 40
B-1367 Gérompont
Tel: +32.81.81.37.00
Web: http://openerp.com
Blog: http://christophe-simonis-at-tiny.blogspot.com

Great achievements start with 'Tiny' investments.
  -- Marty Tennison, 2006
begin:vcard
fn:Christophe Simonis
n:Simonis;Christophe
org:Tiny SPRLU
adr;quoted-printable;quoted-printable:;;Chauss=C3=A9e de Namur 40;Grand Rosi=C3=A8re;;1367;Belgique
email;internet:[EMAIL PROTECTED]
title:Developer
tel;work:+3281813700
x-mozilla-html:FALSE
url:http://tiny.be
version:2.1
end:vcard

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

Reply via email to