equal
deleted
inserted
replaced
149 elif role == 'object' and not rschema.has_perm(self.req, 'add', |
149 elif role == 'object' and not rschema.has_perm(self.req, 'add', |
150 toeid=entity.eid): |
150 toeid=entity.eid): |
151 return self.w(value) |
151 return self.w(value) |
152 elif get_schema_property(entity.e_schema, rschema, |
152 elif get_schema_property(entity.e_schema, rschema, |
153 role, 'composite') == role: |
153 role, 'composite') == role: |
|
154 self.warning('reledit cannot be applied : (... %s %s [composite])' |
|
155 % (rtype, entity.e_schema)) |
154 return self.w(value) |
156 return self.w(value) |
155 self._relation_form(entity, value, rtype, role, reload, row, col, |
157 self._relation_form(entity, value, rtype, role, reload, row, col, |
156 rvid, default, landing_zone) |
158 rvid, default, landing_zone) |
157 |
159 |
158 |
160 |