aboutsummaryrefslogtreecommitdiffstats
path: root/apps/checkin/models.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-11-17 19:15:30 +0200
committerFilipp Lepalaan <f@230.to>2013-11-17 19:15:30 +0200
commit297419f370ea87458017ee506a2e551e9068b66b (patch)
tree429d3e1b6c7f2facfb3e361b4b708f0d36e8aac8 /apps/checkin/models.py
parentf077badf3163fc36c111dc45fe8d7d6f57d8712a (diff)
downloadmotor.old-297419f370ea87458017ee506a2e551e9068b66b.tar.gz
motor.old-297419f370ea87458017ee506a2e551e9068b66b.tar.bz2
motor.old-297419f370ea87458017ee506a2e551e9068b66b.zip
Swicthing machines
Diffstat (limited to 'apps/checkin/models.py')
-rw-r--r--apps/checkin/models.py3
1 files changed, 3 insertions, 0 deletions
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'