summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2011-11-16 17:19:57 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2011-11-16 17:19:57 (GMT)
commit9416cd53c616fc3b59a61de7eea24759d446cb56 (patch)
tree32333c6a66340c24ef9cce0a3c5e05c1a765ea83
parent5a4bc0e94168a1792478b2d91f6bf38db3d5e67c (diff)
downloadtabellio.mixedcommittee-9416cd53c616fc3b59a61de7eea24759d446cb56.zip
tabellio.mixedcommittee-9416cd53c616fc3b59a61de7eea24759d446cb56.tar.gz
tabellio.mixedcommittee-9416cd53c616fc3b59a61de7eea24759d446cb56.tar.bz2
change mixed committees to be folderish
-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 -->