From 27aa9abf9bf57bba807f2a65ffaf75bbc502450d Mon Sep 17 00:00:00 2001 From: Nicolas Demonte Date: Mon, 9 Dec 2019 14:50:03 +0100 Subject: [PATCH] Remove APF content types #22019 --- .../locales/fr/LC_MESSAGES/plone.po | 8 --- .../basecontent/profiles/default/types.xml | 3 - .../default/types/pfwb.apfincomingmail.xml | 65 ------------------- .../default/types/pfwb.apfoutgoingmail.xml | 65 ------------------- src/pfwbged/basecontent/types.py | 14 ---- 5 files changed, 155 deletions(-) delete mode 100644 src/pfwbged/basecontent/profiles/default/types/pfwb.apfincomingmail.xml delete mode 100644 src/pfwbged/basecontent/profiles/default/types/pfwb.apfoutgoingmail.xml diff --git a/src/pfwbged/basecontent/locales/fr/LC_MESSAGES/plone.po b/src/pfwbged/basecontent/locales/fr/LC_MESSAGES/plone.po index ebfc427..7bebb10 100644 --- a/src/pfwbged/basecontent/locales/fr/LC_MESSAGES/plone.po +++ b/src/pfwbged/basecontent/locales/fr/LC_MESSAGES/plone.po @@ -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" diff --git a/src/pfwbged/basecontent/profiles/default/types.xml b/src/pfwbged/basecontent/profiles/default/types.xml index 33785ef..331a5a8 100644 --- a/src/pfwbged/basecontent/profiles/default/types.xml +++ b/src/pfwbged/basecontent/profiles/default/types.xml @@ -15,9 +15,6 @@ - - - - APF Incoming Mail - - string:${portal_url}/++resource++dmsincomingmail_icon.png - True - False - - - - - - - - - - - - True - - - - - - - - - - - - pfwbged.basecontent.types.IApfIncomingMail - - - pfwbged.basecontent.types.ApfIncomingMail - - - cmf.AddPortalContent - - - view - False - - - - - - - - - - - - - - - - - - - diff --git a/src/pfwbged/basecontent/profiles/default/types/pfwb.apfoutgoingmail.xml b/src/pfwbged/basecontent/profiles/default/types/pfwb.apfoutgoingmail.xml deleted file mode 100644 index 0876c71..0000000 --- a/src/pfwbged/basecontent/profiles/default/types/pfwb.apfoutgoingmail.xml +++ /dev/null @@ -1,65 +0,0 @@ - - - - - APF Outgoing Mail - - string:${portal_url}/++resource++dmsoutgoingmail_icon.png - True - False - - - - - - - - - - - - True - - - - - - - - - - - - pfwbged.basecontent.types.IApfIncomingMail - - - pfwbged.basecontent.types.ApfIncomingMail - - - cmf.AddPortalContent - - - view - False - - - - - - - - - - - - - - - - - - - diff --git a/src/pfwbged/basecontent/types.py b/src/pfwbged/basecontent/types.py index 81bdd4b..78062ae 100644 --- a/src/pfwbged/basecontent/types.py +++ b/src/pfwbged/basecontent/types.py @@ -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): """ """