2013/12/9 jomeyy <jom...@gmail.com>:
> hello Tryton user group,
>
> I try to search multiple products with Proteus. I want to find all products
> where the product code containing the word "bunny". Products are [bunny01],
> [bunnyx], [xbunny01]] etc. Can I do this with Proteus?


Yes, something like this should do the work:

Product = Model.get('product.product')
products = Product.find(['code', 'ilike', '%bunny$'])

-- 
Albert Cervera i Areny
Tel. 93 553 18 03
@albertnan
www.NaN-tic.com

Reply via email to