← Back to team overview

credativ team mailing list archive

Re: [Question #184864]: Using OpenERP domain operators

 

Question #184864 on OpenERP Server changed:
https://answers.launchpad.net/openobject-server/+question/184864

Summary changed to:
Using OpenERP domain operators

Description changed to:
Hi,

I'm testing with openerp server trunk 6.1rc1, rev 3963. 
My code is like this:
===
ids = self.search(cr, uid, ['|', ('from_pty_id',  'in', (1, 2)), '|',  ('to_pty_id', 'in', (3, 4)),  '|',  ('pty_rel_tye_id', 'in', (5, 6))], limit=limit, context=context)
===

I face an assertion as below
===
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/osv/expression.py", line 184, in normalize
    assert expected == 0
===

-- 
You received this question notification because you are a member of
OpenERP Framework Experts, which is an answer contact for OpenERP
Server.