Hello dear tryton team,
May someone please help me giving an example of how order by create_date on ‘DESC’?, It’s not clear for me how to pass the order or limit to search ( a list inside another list?, I don’t get it)
classmethod ModelStorage.search ( domain [, offset [, limit [,order [, count ]]]])
I’m trying with:
Product.search((‘create_date’,‘=’,‘my_date’)…)
I’m using this search inside default_product function, is it possible to pass a current selected ( context ) party to this kind of search?
Thanks in advance, my apologies if the question it’s to simple.