From f22a48c5a0b8cfdf12980fc9bb10a0c882d6fb3b Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 15 Dec 2020 20:55:55 +0100 Subject: New beta version - fix merge --- archaeological_warehouse/models.py | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'archaeological_warehouse') diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py index fdde06a7f..66386113b 100644 --- a/archaeological_warehouse/models.py +++ b/archaeological_warehouse/models.py @@ -663,28 +663,6 @@ post_save.connect(post_save_cache, sender=ContainerType) post_delete.connect(post_save_cache, sender=ContainerType) -class ContainerType(GeneralType): - stationary = models.BooleanField( - _("Stationary"), default=False, - help_text=_("Container that usually will not be moved. Ex: building, " - "room.")) - length = models.IntegerField(_(u"Length (mm)"), blank=True, null=True) - width = models.IntegerField(_(u"Width (mm)"), blank=True, null=True) - height = models.IntegerField(_(u"Height (mm)"), blank=True, null=True) - volume = models.FloatField(_(u"Volume (l)"), blank=True, null=True) - reference = models.CharField(_(u"Ref."), max_length=300, blank=True, - null=True) - - class Meta: - verbose_name = _(u"Container type") - verbose_name_plural = _(u"Container types") - ordering = ('label',) - - -post_save.connect(post_save_cache, sender=ContainerType) -post_delete.connect(post_save_cache, sender=ContainerType) - - class WarehouseDivisionLink(models.Model): RELATED_SET_NAME = "divisions" RELATED_ATTRS = ["order", "container_type"] -- cgit v1.2.3