Commit 7d95d08d authored by Rafael Monnerat's avatar Rafael Monnerat

There is no reason to save entire form into configuration save if it is used...

There is no reason to save entire form into configuration save if it is used [sg]etGlobalConfigurationAttr for store needed properties.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42114 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bc65d0ea
...@@ -130,8 +130,6 @@ class BusinessConfiguration(Item): ...@@ -130,8 +130,6 @@ class BusinessConfiguration(Item):
existing_conf_items = root_conf_save.objectIds() existing_conf_items = root_conf_save.objectIds()
existing_conf_items = map(None, existing_conf_items) existing_conf_items = map(None, existing_conf_items)
root_conf_save.manage_delObjects(existing_conf_items) root_conf_save.manage_delObjects(existing_conf_items)
## save ...
root_conf_save.edit(**form_kw)
## Add some variables so we can get use them in workflow after scripts ## Add some variables so we can get use them in workflow after scripts
form_kw['configuration_save_url'] = root_conf_save.getRelativeUrl() form_kw['configuration_save_url'] = root_conf_save.getRelativeUrl()
form_kw['transition'] = transition.getRelativeUrl() form_kw['transition'] = transition.getRelativeUrl()
......
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