← Back to team overview

openerp-expert-framework team mailing list archive

Browse VS Read

 

Good morning guys,

I'm encountering performance problem showing a list of objects (80 objects,
GTK). There is a lot of relations, to objects which have multiple _inherits,
functional fields (not stored [1]), using browse, name_get calls (using
browse too), etc.

Does using read() instead of browse could improve the performances in case
of objects with a lot of relations ?

[1] : The field get a value for a table (kind of related). If I do it as a
store function field of type many2one, OpenERP will call name_get for each
entry, so, 80 name_get, the advantage of the store is totally lost in this
case.