Merged in [8210] from rjsparks@nostrum.com:\n Default the responsible AD for an initial charter or recharter document to the responsible AD for the group. Fixes ticket #1451.
- Legacy-Id: 8316 Note: SVN reference [8210] has been migrated to Git commit 77ddbbe04aedcf7ad7af35032606c1e952228a84
This commit is contained in:
parent
cbb5b84652
commit
2ff2d79a7e
|
@ -416,6 +416,9 @@ def submit(request, name=None, option=None):
|
|||
# Save file on disk
|
||||
form.save(group, charter.rev)
|
||||
|
||||
if option in ['initcharter','recharter'] and charter.ad == None:
|
||||
charter.ad = group.ad
|
||||
|
||||
charter.time = datetime.datetime.now()
|
||||
charter.save()
|
||||
|
||||
|
|
Loading…
Reference in a new issue