equal
deleted
inserted
replaced
129 if len(targettypes) != 1: |
129 if len(targettypes) != 1: |
130 continue |
130 continue |
131 targettype = targettypes[0] |
131 targettype = targettypes[0] |
132 if self.should_inline_relation_form(rschema, targettype, role): |
132 if self.should_inline_relation_form(rschema, targettype, role): |
133 entity = self._cw.vreg['etypes'].etype_class(targettype)(self._cw) |
133 entity = self._cw.vreg['etypes'].etype_class(targettype)(self._cw) |
134 subform = self._cw.vreg['forms'].select('edition', self._cw, entity=entity) |
134 subform = self._cw.vreg['forms'].select('edition', self._cw, |
|
135 entity=entity) |
135 if subform.form_needs_multipart: |
136 if subform.form_needs_multipart: |
136 return True |
137 return True |
137 return False |
138 return False |
138 |
139 |
139 def action(self): |
140 def action(self): |