add adopted and decreted fields
This commit is contained in:
parent
bc24abd92d
commit
378d3c0ec5
|
@ -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)
|
||||
|
|
|
@ -39,6 +39,12 @@
|
|||
<index name="interveningPersonsDoc" meta_type="KeywordIndex">
|
||||
<indexed_attr value="interveningPersonsDoc"/>
|
||||
</index>
|
||||
<index name="adopted" meta_type="BooleanIndex">
|
||||
<indexed_attr value="adopted"/>
|
||||
</index>
|
||||
<index name="decreted" meta_type="BooleanIndex">
|
||||
<indexed_attr value="decreted"/>
|
||||
</index>
|
||||
|
||||
<column value="doctype"/>
|
||||
<column value="dostype"/>
|
||||
|
@ -53,5 +59,7 @@
|
|||
<column value="session"/>
|
||||
<column value="topics"/>
|
||||
<column value="publication_date"/>
|
||||
<column value="adopted"/>
|
||||
<column value="decreted"/>
|
||||
</object>
|
||||
|
||||
|
|
Reference in New Issue