<?xml version="1.0"?>
<object name="Batch"
        meta_type="Factory-based Type Information with dynamic views"
        xmlns:i18n="http://xml.zope.org/namespaces/i18n"
        i18n:domain="senaite.core"
        purge="True">
 <property name="title" i18n:translate="">Batch</property>
 <property name="description"></property>
 <property name="content_icon">senaite_theme/icon/batch</property>
 <property name="content_meta_type">Batch</property>
 <property name="product">bika.lims</property>
 <property name="factory">addBatch</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>
 <property name="allow_discussion">False</property>
 <property name="default_view_fallback">False</property>

 <alias from="(Default)" to="analysisrequests"/>
 <alias from="view" to="analysisrequests"/>
 <alias from="edit" to="base_edit"/>

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

 <action title="Edit"
         action_id="edit"
         category="object"
         condition_expr=""
         icon_expr=""
         link_target=""
         url_expr="string:${object_url}/base_edit"
         i18n:attributes="title"
         i18n:domain="senaite.core"
         visible="True">
  <permission value="Modify portal content"/>
 </action>

 <action title="Samples"
         action_id="analysisrequests"
         category="object"
         condition_expr=""
         icon_expr="string:${portal_url}/senaite_theme/icon/analyissrequest"
         link_target=""
         url_expr="string:${object_url}/analysisrequests"
         i18n:attributes="title"
         i18n:domain="senaite.core"
         visible="True">
  <permission value="View"/>
 </action>

 <action title="Batch Book"
         action_id="batchbook"
         category="object"
         condition_expr=""
         icon_expr="string:${portal_url}/senaite_theme/icon/batchbook"
         link_target=""
         url_expr="string:${object_url}/batchbook"
         i18n:attributes="title"
         visible="True">
  <permission value="View"/>
 </action>

 <action title="Sticker"
         action_id="sticker"
         category="document_actions"
         condition_expr=""
         icon_expr="string:${portal_url}/senaite_theme/icon/sticker_large"
         link_target=""
         url_expr="string:${object_url}/sticker?autoprint=1&amp;filter_by_type=batch"
         i18n:attributes="title"
         visible="True">
    <permission value="View"/>
 </action>

  <action title="Stickers preview"
          action_id="sticker_preview"
          category="document_actions"
          condition_expr=""
          icon_expr="string:${portal_url}/senaite_theme/icon/sticker_preview"
          link_target="Stickers preview"
          url_expr="string:${object_url}/sticker?filter_by_type=batch"
          i18n:attributes="title"
          visible="True">
      <permission value="View"/>
 </action>
</object>
