From 378d3c0ec5c90d076cdd544a0a6f598dc7886072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 17 Nov 2011 13:20:29 +0100 Subject: [PATCH] add adopted and decreted fields --- tabellio/documents/dossier.py | 2 ++ tabellio/documents/profiles/default/catalog.xml | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/tabellio/documents/dossier.py b/tabellio/documents/dossier.py index df380cf..ef3c2f6 100644 --- a/tabellio/documents/dossier.py +++ b/tabellio/documents/dossier.py @@ -114,6 +114,8 @@ class IDossier(form.Schema): source=ObjPathSourceBinder())) histolines = schema.List(title=_(u'Historic Lines'), value_type=HistoLine()) + adopted = schema.Bool(title=_(u'Adopted'), required=False, default=False) + decreted = schema.Bool(title=_(u'Decreted'), required=False, default=False) class Dossier(Item, BasePublication): implements(IDossier, IHasRelations) diff --git a/tabellio/documents/profiles/default/catalog.xml b/tabellio/documents/profiles/default/catalog.xml index 8083bb6..96c2c4b 100644 --- a/tabellio/documents/profiles/default/catalog.xml +++ b/tabellio/documents/profiles/default/catalog.xml @@ -39,6 +39,12 @@ + + + + + + @@ -53,5 +59,7 @@ + +