* Mohammad [2011-11-02 13:51 +0100]:
Domain = A and (B or C)
A is :
("state", "=", "lead")
B is:
("employee_copy", "=", Get(Eval('context', {}), 'employee', False))
C is:
("team_internal.employee", "=", Get(Eval('context', {}), 'employee',
False))
<field name="domain">['AND',[("state", "=", "lead")],
['OR',("employee_copy", "=", Get(Eval('context', {}),
'employee', False)),
("team_internal.employee", "=", Get(Eval('context', {}),
'employee', False))]]
</field>
Your domain looks perfectly valid.
Did you try without the carriage returns ?
Note that each one is working well separately and putting something
like [A,B,C] is also working.(AND logic).
Thanks.
--
Nicolas Évrard
B2CK SPRL
rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
E-mail/Jabber: [email protected]
Website: http://www.b2ck.com/
--
[email protected] mailing list