Commit 8a4bb70e by Kálmán Viktor

admin: display instance pk in activity list

parent 451fd5b5
......@@ -763,11 +763,11 @@ class InstanceActivity(ActivityModel):
def __unicode__(self):
if self.parent:
return '{}({})->{}'.format(self.parent.activity_code,
self.instance.name,
self.instance,
self.activity_code)
else:
return '{}({})'.format(self.activity_code,
self.instance.name)
self.instance)
@classmethod
def create(cls, code_suffix, instance, task_uuid=None, user=None):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment