Commit f49a81e8 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

[ui] Fix class name

parent 4dfef375b284
...@@ -195,11 +195,11 @@ class RelationshipBusinessValueLinkEntityView(viewlib.BusinessValueLinkEntityVie ...@@ -195,11 +195,11 @@ class RelationshipBusinessValueLinkEntityView(viewlib.BusinessValueLinkEntityVie
self.w(self._cw._(', no relationship type specified')) self.w(self._cw._(', no relationship type specified'))
class AttachmentTypedBusinessValueEntityView(viewlib.BusinessValueEntityView): class AttachmentBusinessValueEntityView(viewlib.BusinessValueEntityView):
__select__ = is_instance('SEDAAttachment') __select__ = is_instance('SEDAAttachment')
def entity_call(self, entity): def entity_call(self, entity):
super(AttachmentTypedBusinessValueEntityView, self).entity_call(entity) super(AttachmentBusinessValueEntityView, self).entity_call(entity)
attributes = [] attributes = []
for rtype in ('reverse_seda_uri', 'reverse_seda_filename'): for rtype in ('reverse_seda_uri', 'reverse_seda_filename'):
values = getattr(entity, rtype) values = getattr(entity, rtype)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment