diff options
author | Filipp Lepalaan <f@230.to> | 2013-11-17 19:15:30 +0200 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2013-11-17 19:15:30 +0200 |
commit | 297419f370ea87458017ee506a2e551e9068b66b (patch) | |
tree | 429d3e1b6c7f2facfb3e361b4b708f0d36e8aac8 /apps/checkin | |
parent | f077badf3163fc36c111dc45fe8d7d6f57d8712a (diff) | |
download | motor.old-297419f370ea87458017ee506a2e551e9068b66b.tar.gz motor.old-297419f370ea87458017ee506a2e551e9068b66b.tar.bz2 motor.old-297419f370ea87458017ee506a2e551e9068b66b.zip |
Swicthing machines
Diffstat (limited to 'apps/checkin')
-rw-r--r-- | apps/checkin/models.py | 3 |
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' |