Commit c0e831b4 authored by Rafael Monnerat's avatar Rafael Monnerat

Set Configuraton Save default title

parent 4849dbe1
......@@ -134,7 +134,8 @@ class BusinessConfiguration(Item):
configuration_save = self._getConfSaveForStateFromWorkflowHistory()
if configuration_save is None:
## we haven't saved any configuration save for this state so create new one
configuration_save = self.newContent(portal_type='Configuration Save')
configuration_save = self.newContent(portal_type='Configuration Save',
title=current_state.getTitle())
else:
## we have already created configuration save for this state
## so remove from it already existing configuration items
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment