equal
deleted
inserted
replaced
910 return self.req.property_value('ui.default-text-format') |
910 return self.req.property_value('ui.default-text-format') |
911 |
911 |
912 def form_field_entity_value(self, field, default_initial=True): |
912 def form_field_entity_value(self, field, default_initial=True): |
913 attr = field.name |
913 attr = field.name |
914 if field.role == 'object': |
914 if field.role == 'object': |
915 attr += '_object' |
915 attr = 'reverse_' + attr |
916 else: |
916 else: |
917 attrtype = self.entity.e_schema.destination(attr) |
917 attrtype = self.entity.e_schema.destination(attr) |
918 if attrtype == 'Password': |
918 if attrtype == 'Password': |
919 return self.entity.has_eid() and INTERNAL_FIELD_VALUE or '' |
919 return self.entity.has_eid() and INTERNAL_FIELD_VALUE or '' |
920 if attrtype == 'Bytes': |
920 if attrtype == 'Bytes': |