5fc3979262
Before this patch, #15920 was happening. The problem was that calling `render_cell` produced a call to [`record.set(column.id + '__display', value)`][1], which triggers the `change` event, which called `render_record` the first time, which called again `render_cell` and produced the 2nd data fetch.
After this patch, `render_record` is only called if there is some place where to put the result, which does not happen in those situations.
There is still the problem that there is one call to name_get for each many2many widget found in a list view (instead of one per full view rendering), but at least they are not two calls!
[1]:
|
||
---|---|---|
.. | ||
controllers | ||
doc | ||
i18n | ||
static | ||
tests | ||
views | ||
.bowerrc | ||
Gruntfile.js | ||
__init__.py | ||
__openerp__.py | ||
bower.json | ||
package.json |