isnt this hurting?
for my client's prod database, we used to search by integer, float a lot. 
can someone confirm? 0 is taken as false.

-- 
[trunk]search 'in' does not match int zero
https://bugs.launchpad.net/bugs/651344
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.

Status in OpenObject Server: New

Bug description:
I've added an integer field to sequence an object and I'm using '0' to indicate 
'always on top'. However, if I use 
[(obj.sequence,in,[list_which_includes_zero])] it does not match zero. The same 
search in postgresql yields expected results (obviously). 

I haven't dug into this but I was wondering if I'm missing something before I 
do. In the meantime I've worked around it by skipping the ORM.



_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to