equal
deleted
inserted
replaced
541 eschema = self._cw.vreg.schema.eschema(self.target_type) |
541 eschema = self._cw.vreg.schema.eschema(self.target_type) |
542 elif self.role == 'subject': |
542 elif self.role == 'subject': |
543 eschema = self._cw.vreg.schema.rschema(self.rtype).objects()[0] |
543 eschema = self._cw.vreg.schema.rschema(self.rtype).objects()[0] |
544 else: |
544 else: |
545 eschema = self._cw.vreg.schema.rschema(self.rtype).subjects()[0] |
545 eschema = self._cw.vreg.schema.rschema(self.rtype).subjects()[0] |
546 return eschema.rdef(self.target_attr).internationalizable |
546 return getattr(eschema.rdef(self.target_attr), 'internationalizable', False) |
547 |
547 |
548 @property |
548 @property |
549 def no_relation(self): |
549 def no_relation(self): |
550 return (not self._cw.vreg.schema.rschema(self.rtype).final |
550 return (not self._cw.vreg.schema.rschema(self.rtype).final |
551 and self._search_card('?*')) |
551 and self._search_card('?*')) |