Modified the doc stream-change edit form to reset doc.group to None on stream changes. Fixes issue #1078.

- Legacy-Id: 5915
This commit is contained in:
Henrik Levkowetz 2013-07-30 10:02:42 +00:00
parent 4e42c65e92
commit 6d8a7afa5f

View file

@ -252,6 +252,7 @@ def change_stream(request, name):
save_document_in_history(doc)
doc.stream = new_stream
doc.group = None
e = DocEvent(doc=doc,by=login,type='changed_document')
e.desc = u"Stream changed to <b>%s</b> from %s"% (new_stream, old_stream or "None")