Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tristan Cavelier
erp5
Commits
c0e831b4
Commit
c0e831b4
authored
Jan 25, 2012
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set Configuraton Save default title
parent
4849dbe1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
product/ERP5Configurator/Document/BusinessConfiguration.py
product/ERP5Configurator/Document/BusinessConfiguration.py
+2
-1
No files found.
product/ERP5Configurator/Document/BusinessConfiguration.py
View file @
c0e831b4
...
@@ -134,7 +134,8 @@ class BusinessConfiguration(Item):
...
@@ -134,7 +134,8 @@ class BusinessConfiguration(Item):
configuration_save
=
self
.
_getConfSaveForStateFromWorkflowHistory
()
configuration_save
=
self
.
_getConfSaveForStateFromWorkflowHistory
()
if
configuration_save
is
None
:
if
configuration_save
is
None
:
## we haven't saved any configuration save for this state so create new one
## 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
:
else
:
## we have already created configuration save for this state
## we have already created configuration save for this state
## so remove from it already existing configuration items
## so remove from it already existing configuration items
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment