Am Dienstag, 10. Dezember 2013 08:20:13 UTC+1 schrieb Albert Cervera Areny: > > 2013/12/9 jomeyy <[email protected] <javascript:>>: > > 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 >
Hello Albert, thank you very much for your help. I assume that you mean products = Product.find(['code', 'ilike', '%bunny%']) because this is working fine for this constellation. Kindly regards Jome
