<?xml version="1.0"?>
<object name="Attachment"
        meta_type="Factory-based Type Information with dynamic views"
        xmlns:i18n="http://xml.zope.org/namespaces/i18n"
        i18n:domain="plone"
        purge="True">
 <property name="title" i18n:translate="">Attachment</property>
 <property name="description"></property>
 <property name="content_icon">++resource++bika.lims.images/attachment.png</property>
 <property name="content_meta_type">Attachment</property>
 <property name="product">bika.lims</property>
 <property name="factory">addAttachment</property>
 <property name="add_view_expr"></property>
 <property name="link_target"></property>
 <property name="global_allow">False</property>
 <property name="filter_content_types">True</property>
 <property name="allowed_content_types"/>
 <property name="allow_discussion">False</property>
 <property name="default_view_fallback">False</property>

 <alias from="(Default)" to="attachment_view"/>
 <alias from="view" to="attachment_view"/>
 <alias from="edit" to="attachment_edit"/>

 <action title="Edit"
         action_id="edit"
         category="object"
         condition_expr=""
         icon_expr=""
         link_target=""
         url_expr="string:${object_url}/attachment_edit"
         i18n:attributes="title"
         i18n:domain="plone"
         visible="True">
    <permission value="BIKA: Edit Results"/>
 </action>

 <action title="View"
         action_id="view"
         category="object"
         condition_expr=""
         icon_expr=""
         link_target=""
         url_expr="string:${object_url}/attachment_view"
         i18n:attributes="title"
         i18n:domain="plone"
         visible="True">
    <permission value="View"/>
 </action>

</object>
