Merge pull request #747 from normanjaeckel/Issue739_New
Save identifier in MotionSetStateView, fixed #739
This commit is contained in:
commit
c519c7444a
@ -626,7 +626,7 @@ class MotionSetStateView(SingleObjectMixin, RedirectView):
|
||||
except WorkflowError, e: # TODO: Is a WorkflowError still possible here?
|
||||
messages.error(request, e)
|
||||
else:
|
||||
self.object.save(update_fields=['state'])
|
||||
self.object.save(update_fields=['state', 'identifier'])
|
||||
self.object.write_log(
|
||||
message_list=[ugettext_noop('State changed to '), self.object.state.name],
|
||||
person=self.request.user)
|
||||
|
Loading…
Reference in New Issue
Block a user