Commit 48792e6e authored by Łukasz Nowak's avatar Łukasz Nowak

- if erp5_site_global_id is available send it to server


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34231 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ffd31d92
......@@ -503,6 +503,13 @@ class WizardTool(BaseTool):
# add user preffered language
parameter_dict['user_preferred_language'] = self.getConfiguratorUserPreferredLanguage()
# new way - reuse, if exist erp5_site_global_id
erp5_site_global_id = getattr(self.getPortalObject(),
'erp5_site_global_id', None)
if erp5_site_global_id is not None:
# XXX: is overriding of current_bc_index required?
parameter_dict['erp5_site_global_id'] = erp5_site_global_id
def _updateParameterDictWithFileUpload(self, parameter_dict):
"""Updates parameter_dict to replace file upload with their file content,
encoded as XML-RPC Binary
......
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