improve EntityAttributesTableView perfs by adding a call to complete() stable
authorAlexandre Fayolle <alexandre.fayolle@logilab.fr>
Fri, 30 Sep 2011 18:08:00 +0200
branchstable
changeset 7900 e9b79f5c3571
parent 7899 4f6ff757f83c
child 7902 2ada3052e626
improve EntityAttributesTableView perfs by adding a call to complete()
web/views/tableview.py
--- a/web/views/tableview.py	Fri Sep 30 18:05:57 2011 +0200
+++ b/web/views/tableview.py	Fri Sep 30 18:08:00 2011 +0200
@@ -370,6 +370,7 @@
     def cell_call(self, row, col):
         _ = self._cw._
         entity = self.cw_rset.get_entity(row, col)
+        entity.complete()
         infos = {}
         for col in self.columns:
             meth = getattr(self, 'build_%s_cell' % col, None)