<?xml version="1.0"?>
<object name="euphorie.client" meta_type="Dexterity FTI"
   xmlns:i18n="http://xml.zope.org/namespaces/i18n"
   i18n:domain="euphorie">

 <!-- Basic information -->
 <property name="title">Online client</property>
 <property name="description" i18n:translate="">The online client.</property>
 <property name="content_icon">document_icon.gif</property>
 <property name="global_allow">True</property>
 <property name="allow_discussion">False</property>

 <property name="filter_content_types">True</property>
 <property name="allowed_content_types">
   <element value="euphorie.clientcountry"/>
 </property>

 <property name="klass">euphorie.client.client.Client</property>
 <property name="add_permission">euphorie.content.ManageCountry</property>

 <property name="schema">euphorie.client.client.IClient</property>
 <property name="model_source"></property>
 <property name="model_file"></property>

 <!-- List of enabled behaviors -->
 <property name="behaviors">
  <element value="plone.app.content.interfaces.INameFromTitle" />
 </property>

 <!-- View information -->
 <property name="default_view">view</property>
 <property name="default_view_fallback">False</property>
 <property name="view_methods">
  <element value="view"/>
 </property>

 <!-- Method aliases -->
 <alias from="(Default)" to="(selected layout)"/>
 <alias from="edit" to="@@edit"/>
 <alias from="sharing" to="@@sharing"/>
 <alias from="view" to="@@view"/>

 <!-- Actions -->
 <action title="View" action_id="view" category="object" condition_expr=""
    url_expr="string:${object_url}" visible="True">
  <permission value="View"/>
 </action>
 <action title="Edit" action_id="edit" category="object" condition_expr=""
    url_expr="string:${object_url}/edit" visible="True">
  <permission value="Modify portal content"/>
 </action>
</object>

