equal
deleted
inserted
replaced
113 domid='ownership%s' % entity.eid, |
113 domid='ownership%s' % entity.eid, |
114 __redirectvid='security', |
114 __redirectvid='security', |
115 __redirectpath=entity.rest_path()) |
115 __redirectpath=entity.rest_path()) |
116 field = guess_field(entity.e_schema, self._cw.vreg.schema.rschema('owned_by')) |
116 field = guess_field(entity.e_schema, self._cw.vreg.schema.rschema('owned_by')) |
117 form.append_field(field) |
117 form.append_field(field) |
118 self.w(form.render(rendervalues=dict(display_progress_div=False))) |
118 self.w(form.render(display_progress_div=False)) |
119 |
119 |
120 def owned_by_information(self, entity): |
120 def owned_by_information(self, entity): |
121 ownersrset = entity.related('owned_by') |
121 ownersrset = entity.related('owned_by') |
122 if ownersrset: |
122 if ownersrset: |
123 self.w('<h3>%s</h3>' % self._cw._('ownership')) |
123 self.w('<h3>%s</h3>' % self._cw._('ownership')) |