domain syntax

Asked by B. ZEGHICHE

Hello,

I'm trying to express this condition in domain syntax

( ('a','=','b') AND ('c','=','d') ) OR ( ('e','=','f') AND ('g','=','k') )

I dont know where to place the '|' and '&' to make the domain work

Best regards

Pedro

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Server (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Solved by:
B. ZEGHICHE
Solved:
Last query:
Last reply:
Revision history for this message
Lorenzo Battistini (elbati) said :
#1
Revision history for this message
B. ZEGHICHE (badreddine-zeghiche) said :
#2

thankx

Revision history for this message
Vo Minh Thu (thu) said :
#3

It is a bit technical but there is some explanation in the source code of this file:
http://bazaar.launchpad.net/~openerp/openobject-server/trunk/view/head:/openerp/osv/expression.py