web/views/primary.py
branchstable
changeset 9220 3b437196c2d8
parent 8900 010a59e12d89
child 9255 46f41c3e1443
equal deleted inserted replaced
9219:6afdeaabac74 9220:3b437196c2d8
   107 
   107 
   108         by default primary views are indexed
   108         by default primary views are indexed
   109         """
   109         """
   110         return []
   110         return []
   111 
   111 
   112     def entity_call(self, entity):
   112     def entity_call(self, entity, **kwargs):
   113         entity.complete()
   113         entity.complete()
   114         uicfg_reg = self._cw.vreg['uicfg']
   114         uicfg_reg = self._cw.vreg['uicfg']
   115         if self.rsection is None:
   115         if self.rsection is None:
   116             self.rsection = uicfg_reg.select('primaryview_section',
   116             self.rsection = uicfg_reg.select('primaryview_section',
   117                                              self._cw, entity=entity)
   117                                              self._cw, entity=entity)