With the help of multi api we will be able to set the current RecordSet without iteration. It is the default behavior.
In below code i have used search_read function to set the current RecordSet
@api.multi
def afun(self):
len(self)
Note- Multi.api will automatically convert it into a list of ids
.
0 Comment(s)