diff --git a/openslides/agenda/models.py b/openslides/agenda/models.py index 119a2f7da..13fe078aa 100644 --- a/openslides/agenda/models.py +++ b/openslides/agenda/models.py @@ -61,17 +61,6 @@ class Item(MPTTModel, SlideMixin): Flag, if the item is finished. """ - weight = models.IntegerField(default=0, verbose_name=ugettext_lazy("Weight")) - """ - Weight to sort the item in the agenda. - """ - - parent = TreeForeignKey('self', null=True, blank=True, - related_name='children') - """ - The parent item in the agenda tree. - """ - type = models.IntegerField(max_length=1, choices=ITEM_TYPE, default=AGENDA_ITEM, verbose_name=ugettext_lazy("Type")) """ @@ -86,6 +75,17 @@ class Item(MPTTModel, SlideMixin): The intended duration for the topic. """ + parent = TreeForeignKey('self', null=True, blank=True, + related_name='children') + """ + The parent item in the agenda tree. + """ + + weight = models.IntegerField(default=0, verbose_name=ugettext_lazy("Weight")) + """ + Weight to sort the item in the agenda. + """ + related_sid = models.CharField(null=True, blank=True, max_length=63) """ Slide-ID to another object to show it in the agenda.