Skip to content
Snippets Groups Projects
Commit e646f645 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-190: just copy name and description from draft to blueprint

parent 28cacbbd
No related branches found
No related tags found
1 merge request!252Resolve TMSS-190
......@@ -25,8 +25,8 @@ def create_scheduling_unit_blueprint_from_scheduling_unit_draft(scheduling_unit_
logger.debug("create_scheduling_unit_blueprint_from_scheduling_unit_draft(scheduling_unit_draft.id=%s name='%s')", scheduling_unit_draft.pk, scheduling_unit_draft.name)
scheduling_unit_blueprint = SchedulingUnitBlueprint.objects.create(
name="%s (SchedulingUnitBlueprint)" % (scheduling_unit_draft.name,),
description="%s (SchedulingUnitBlueprint)" % (scheduling_unit_draft.description or "<no description>",),
name=scheduling_unit_draft.name,
description=scheduling_unit_draft.description,
requirements_doc=scheduling_unit_draft.requirements_doc,
do_cancel=False,
draft=scheduling_unit_draft,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment