app/soc/modules/ghop/views/models/task.py
changeset 3059 14421976288a
parent 3038 34eeacafc5dc
child 3091 a48f4e860f7b
equal deleted inserted replaced
3058:5395772146cc 3059:14421976288a
   944           ugettext('Action-Submitted work and Requested for review'),
   944           ugettext('Action-Submitted work and Requested for review'),
   945           ugettext('Status-%s' % (properties['status']))])
   945           ugettext('Status-%s' % (properties['status']))])
   946 
   946 
   947       ws_properties = {
   947       ws_properties = {
   948           'parent': entity,
   948           'parent': entity,
   949           'link_id': 't%i' % (int(time.time()*100)),
   949           'program': entity.program,
   950           'scope_path': entity.key().name(),
   950           'org': entity.scope,
   951           'scope': entity.scope,
       
   952           'user': user_account,
   951           'user': user_account,
   953           'information': fields['comment'],
   952           'information': fields['comment'],
   954           'url_to_work': fields['work_submission'],
   953           'url_to_work': fields['work_submission'],
   955           'submitted_on': datetime.datetime.now(),
   954           'submitted_on': datetime.datetime.now(),
   956           }
   955           }