equal
deleted
inserted
replaced
125 if rschema.final or vid == 'reledit': |
125 if rschema.final or vid == 'reledit': |
126 value = entity.view(vid, rtype=rschema.type, role=role) |
126 value = entity.view(vid, rtype=rschema.type, role=role) |
127 else: |
127 else: |
128 rset = self._relation_rset(entity, rschema, role, dispctrl) |
128 rset = self._relation_rset(entity, rschema, role, dispctrl) |
129 if rset: |
129 if rset: |
130 value = self.view(vid, rset) |
130 value = self._cw.view(vid, rset) |
131 else: |
131 else: |
132 value = None |
132 value = None |
133 if self.skip_none and (value is None or value == ''): |
133 if self.skip_none and (value is None or value == ''): |
134 continue |
134 continue |
135 try: |
135 try: |