Remove APF content types #22019
This commit is contained in:
parent
7fda8bdd75
commit
27aa9abf9b
|
@ -15,14 +15,6 @@ msgstr ""
|
|||
"Domain: plone\n"
|
||||
"X-is-fallback-for: fr-fr fr-be fr-ca\n"
|
||||
|
||||
#: ../profiles/default/types/pfwb.apfincomingmail.xml
|
||||
msgid "APF Incoming Mail"
|
||||
msgstr "Courrier entrant de l'APF"
|
||||
|
||||
#: ../profiles/default/types/pfwb.apfoutgoingmail.xml
|
||||
msgid "APF Outgoing Mail"
|
||||
msgstr "Courrier sortant de l'APF"
|
||||
|
||||
#: ../profiles/default/types/pfwb.agenda.xml
|
||||
msgid "Agenda"
|
||||
msgstr "Ordre du jour"
|
||||
|
|
|
@ -15,9 +15,6 @@
|
|||
<object name="pfwb.copnote" meta_type="Dexterity FTI"/>
|
||||
<object name="pfwb.copminutes" meta_type="Dexterity FTI"/>
|
||||
|
||||
<object name="pfwb.apfincomingmail" meta_type="Dexterity FTI"/>
|
||||
<object name="pfwb.apfoutgoingmail" meta_type="Dexterity FTI"/>
|
||||
|
||||
<!--
|
||||
<object name="pfwb.agenda" meta_type="Dexterity FTI"/>
|
||||
<object name="pfwb.pressrelease" meta_type="Dexterity FTI"/>
|
||||
|
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<object name="pfwb.boarddecision" meta_type="Dexterity FTI" i18n:domain="plone"
|
||||
xmlns:i18n="http://xml.zope.org/namespaces/i18n">
|
||||
|
||||
<!-- Basic metadata -->
|
||||
<property name="title" i18n:translate="">APF Incoming Mail</property>
|
||||
<property name="description" i18n:translate=""></property>
|
||||
<property name="icon_expr">string:${portal_url}/++resource++dmsincomingmail_icon.png</property>
|
||||
<property name="global_allow">True</property>
|
||||
<property name="allow_discussion">False</property>
|
||||
|
||||
<!-- Behaviors -->
|
||||
<property name="behaviors" purge="True">
|
||||
<element value="plone.app.content.interfaces.INameFromTitle"/>
|
||||
<element value="plone.app.dexterity.behaviors.metadata.IBasic"/>
|
||||
<element value="pfwbged.basecontent.behaviors.IPfwbDocument"/>
|
||||
<element value="pfwbged.basecontent.behaviors.IPfwbIncomingMail"/>
|
||||
<element value="pfwbged.basecontent.behaviors.IDeadline"/>
|
||||
</property>
|
||||
|
||||
<!-- Contained Types -->
|
||||
<property name="filter_content_types">True</property>
|
||||
<property name="allowed_content_types" purge="False">
|
||||
<element value="dmsmainfile"/>
|
||||
<element value="dmsappendixfile"/>
|
||||
<element value="information"/>
|
||||
<element value="opinion"/>
|
||||
<element value="task"/>
|
||||
<element value="validation"/>
|
||||
<element value="pfwbgedlink"/>
|
||||
</property>
|
||||
|
||||
<!-- schema interface -->
|
||||
<property name="schema">pfwbged.basecontent.types.IApfIncomingMail</property>
|
||||
|
||||
<!-- class used for content items -->
|
||||
<property name="klass">pfwbged.basecontent.types.ApfIncomingMail</property>
|
||||
|
||||
<!-- add permission -->
|
||||
<property name="add_permission">cmf.AddPortalContent</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="(dynamic view)"/>
|
||||
<alias from="edit" to="@@edit"/>
|
||||
<alias from="sharing" to="@@sharing"/>
|
||||
<alias from="view" to="(selected layout)"/>
|
||||
|
||||
<!-- 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>
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<object name="pfwb.boarddecision" meta_type="Dexterity FTI" i18n:domain="plone"
|
||||
xmlns:i18n="http://xml.zope.org/namespaces/i18n">
|
||||
|
||||
<!-- Basic metadata -->
|
||||
<property name="title" i18n:translate="">APF Outgoing Mail</property>
|
||||
<property name="description" i18n:translate=""></property>
|
||||
<property name="icon_expr">string:${portal_url}/++resource++dmsoutgoingmail_icon.png</property>
|
||||
<property name="global_allow">True</property>
|
||||
<property name="allow_discussion">False</property>
|
||||
|
||||
<!-- Behaviors -->
|
||||
<property name="behaviors" purge="True">
|
||||
<element value="plone.app.content.interfaces.INameFromTitle"/>
|
||||
<element value="plone.app.dexterity.behaviors.metadata.IBasic"/>
|
||||
<element value="pfwbged.basecontent.behaviors.IPfwbDocument"/>
|
||||
<element value="pfwbged.basecontent.behaviors.IRelatedTask"/>
|
||||
<element value="collective.dms.mailcontent.behaviors.ISendingType"/>
|
||||
</property>
|
||||
|
||||
<!-- Contained Types -->
|
||||
<property name="filter_content_types">True</property>
|
||||
<property name="allowed_content_types" purge="False">
|
||||
<element value="dmsmainfile"/>
|
||||
<element value="dmsappendixfile"/>
|
||||
<element value="information"/>
|
||||
<element value="opinion"/>
|
||||
<element value="task"/>
|
||||
<element value="validation"/>
|
||||
<element value="pfwbgedlink"/>
|
||||
</property>
|
||||
|
||||
<!-- schema interface -->
|
||||
<property name="schema">pfwbged.basecontent.types.IApfIncomingMail</property>
|
||||
|
||||
<!-- class used for content items -->
|
||||
<property name="klass">pfwbged.basecontent.types.ApfIncomingMail</property>
|
||||
|
||||
<!-- add permission -->
|
||||
<property name="add_permission">cmf.AddPortalContent</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="(dynamic view)"/>
|
||||
<alias from="edit" to="@@edit"/>
|
||||
<alias from="sharing" to="@@sharing"/>
|
||||
<alias from="view" to="(selected layout)"/>
|
||||
|
||||
<!-- 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>
|
|
@ -196,20 +196,6 @@ class BoardMinutes(DmsDocument):
|
|||
implements(IBoardMinutes)
|
||||
|
||||
|
||||
class IApfIncomingMail(IDmsIncomingMail):
|
||||
""" """
|
||||
|
||||
class ApfIncomingMail(DmsIncomingMail):
|
||||
implements(IApfIncomingMail)
|
||||
|
||||
|
||||
class IApfOutgoingMail(IDmsIncomingMail):
|
||||
""" """
|
||||
|
||||
class ApfOutgoingMail(DmsIncomingMail):
|
||||
implements(IApfOutgoingMail)
|
||||
|
||||
|
||||
class IMemorandum(IDmsOutgoingMail):
|
||||
"""
|
||||
"""
|
||||
|
|
Reference in New Issue