← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 651344] Re: [trunk]search 'in' does not match int zero

 

*** This bug is a duplicate of bug 636983 ***
    https://bugs.launchpad.net/bugs/636983

A similar issue of wrong domain handling.
Thanks.


** This bug has been marked a duplicate of bug 636983
   Domain Calculation : Wrong behavior with 0.0
 * You can subscribe to bug 636983 by following this link: https://bugs.launchpad.net/openobject-client-kde/+bug/636983/+subscribe

-- 
[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 the OpenERP Project Group.

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.