Skip to Content
Menu
This question has been flagged
3 Replies
4793 Views

I don't want to using limit!?????

what to do

 a = sock.execute_kw(dbname, uid, pwd,'mail.message', 'search_read',[[]],{'fields': [],'limit': 5})



(My English is poor!!sorry)

Avatar
Discard
Best Answer

Hi,

Please Try tlike this :
    a = sock.execute_kw(dbname, uid, pwd, 'mail.message', 'search_read', [[]], {})


Hope it will help you. 
Up Vote Please.

Avatar
Discard
Best Answer

Hi,

If u don't want to use it, you can simly pass empty dictionary, as:

a = sock.execute_kw(dbname, uid, pwd,'mail.message', 'search_read',0, False, False, {})

Hope it helps!

Avatar
Discard
Author Best Answer

a = sock.execute_kw(dbname, uid, pwd,'mail.message', 'search_read',0, False, False, {})

but it was still no go

Avatar
Discard

are you getting any bug?, can u please explain what are u getting?