Hi everybody,
I' ve trying to use the search funtion in the web service using the operator IN
or NOT IN and a list as an argument, but i can't understand why it doens't
work.
This is some extract from the code:
ids = sock.execute(dbname, uid, password, 'product.template', 'search',
[('id','IN',(3,4))])
I replace the variable with a constant argument (3,4) just to make it works but
it doesn't work at all. Something beetwen this called and the database query
replace the "( )" with "[ ]" but i don¡t konw why.
Please if someone has any comment or an alternative i will be very pleased.
Thanks
Nacho
------------------------
Ignacio Bedascarrasbure
-------------------- m2f --------------------
--
http://www.openerp.com/forum/viewtopic.php?p=24502#24502
-------------------- m2f --------------------
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users