equal
deleted
inserted
replaced
376 |
376 |
377 def should_inline_relation_form(self, rschema, targettype, role): |
377 def should_inline_relation_form(self, rschema, targettype, role): |
378 """return true if the given relation with entity has role and a |
378 """return true if the given relation with entity has role and a |
379 targettype target should be inlined |
379 targettype target should be inlined |
380 """ |
380 """ |
381 return self.rinlined.etype_get(self.edited_entity.id, rschema, role, |
381 return True |
382 targettype) |
|
383 |
382 |
384 def should_display_inline_creation_form(self, rschema, existant, card): |
383 def should_display_inline_creation_form(self, rschema, existant, card): |
385 """return true if a creation form should be inlined |
384 """return true if a creation form should be inlined |
386 |
385 |
387 by default true if there is no related entity and we need at least one |
386 by default true if there is no related entity and we need at least one |