A Dimecres, 30 de desembre de 2009, forum-u...@tinyerp.org va escriure: > Hi. > > I struggle with the syntax of domain for Directories in DMS. Sorry I'm new > to phyton syntax. > > I have [('name','=','ProductName1')] which works well. > > Now I want to expand the domain to contain both 'ProductName1' and > 'ProductName2'. > > I have tryed [('name','in',['ProductName1','ProductName2'])] which does not > work. What's the correct syntax?
AFAIK, this should work. > > Thanks a lot for you help, > cj > > > > > -------------------- m2f -------------------- > > -- > http://www.openobject.com/forum/viewtopic.php?p=48758#48758 > > -------------------- m2f -------------------- > > > _______________________________________________ > Tinyerp-users mailing list > http://tiny.be/mailman2/listinfo/tinyerp-users > -- Albert Cervera i Areny http://www.NaN-tic.com Mòbil: +34 669 40 40 18 _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users