summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tabellio/mixedcommittee/committee.py4
-rw-r--r--tabellio/mixedcommittee/profiles/default/types/tabellio.mixedcommittee.committee.xml2
2 files changed, 3 insertions, 3 deletions
diff --git a/tabellio/mixedcommittee/committee.py b/tabellio/mixedcommittee/committee.py
index 74d71e7..a142b62 100644
--- a/tabellio/mixedcommittee/committee.py
+++ b/tabellio/mixedcommittee/committee.py
@@ -5,7 +5,7 @@ from z3c.relationfield.schema import RelationChoice
from Products.Five import BrowserView
from plone.directives import form, dexterity
-from plone.dexterity.content import Item
+from plone.dexterity.content import Container
from plone.formwidget.contenttree import ObjPathSourceBinder
from plone.app.textfield import RichText
from plone.namedfile.field import NamedImage
@@ -17,5 +17,5 @@ class ICommittee(form.Schema):
relationship = RichText(title=_(u'Relationship'), required=False)
resolutions = RichText(title=_(u'Resolutions'), required=False)
-class Committee(Item):
+class Committee(Container):
implements(ICommittee)
diff --git a/tabellio/mixedcommittee/profiles/default/types/tabellio.mixedcommittee.committee.xml b/tabellio/mixedcommittee/profiles/default/types/tabellio.mixedcommittee.committee.xml
index edaeef3..74fc9a8 100644
--- a/tabellio/mixedcommittee/profiles/default/types/tabellio.mixedcommittee.committee.xml
+++ b/tabellio/mixedcommittee/profiles/default/types/tabellio.mixedcommittee.committee.xml
@@ -8,7 +8,7 @@
<property name="content_icon">document_icon.gif</property>
<property name="allow_discussion">False</property>
<property name="global_allow">True</property>
- <property name="filter_content_types">True</property>
+ <property name="filter_content_types">False</property>
<property name="allowed_content_types" />
<!-- schema interface -->