From 297419f370ea87458017ee506a2e551e9068b66b Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Sun, 17 Nov 2013 19:15:30 +0200 Subject: Swicthing machines --- apps/checkin/models.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/checkin') diff --git a/apps/checkin/models.py b/apps/checkin/models.py index efea6ff..82874a4 100644 --- a/apps/checkin/models.py +++ b/apps/checkin/models.py @@ -85,6 +85,9 @@ class ServiceOrder(models.Model): devices = models.ManyToManyField(Device, null=True) tags = models.ManyToManyField(TaggedItem) + servo_id = models.CharField(max_length=7, default='', editable=False) + status = models.TextField(default='', blank=True) + def add_accessory(self, accessory): tag = TaggedItem() tag.kind = 'accessory' -- cgit v1.2.3