equal
deleted
inserted
replaced
196 |
196 |
197 class EditableFinalView(FinalView): |
197 class EditableFinalView(FinalView): |
198 """same as FinalView but enables inplace-edition when possible""" |
198 """same as FinalView but enables inplace-edition when possible""" |
199 id = 'editable-final' |
199 id = 'editable-final' |
200 |
200 |
201 def cell_call(self, row, col, props=None, displaytime=False): |
201 def cell_call(self, row, col, props=None): |
202 entity, rtype = self.rset.related_entity(row, col) |
202 entity, rtype = self.rset.related_entity(row, col) |
203 if entity is not None: |
203 if entity is not None: |
204 self.w(entity.view('reledit', rtype=rtype)) |
204 self.w(entity.view('reledit', rtype=rtype)) |
205 else: |
205 else: |
206 super(EditableFinalView, self).cell_call(row, col, props, displaytime) |
206 super(EditableFinalView, self).cell_call(row, col, props) |