Community mailing list archives

community@mail.odoo.com

New api browse - what for if search returns record set?

by
Maxim Litnitskiy
- 09/25/2014 07:24:33
Hi guys!
I have a simple question.
If now (new api)  search method  returns RecordSet why at all we can require browse??
Or I miss anything in concept?
I am doing:

for contact in self.env['res.partner'].search('my_search','=',True):
   do contact.field = new_value

Am I right?

Thanks.