Commit d54ff2b6 authored by Thibaut Deheunynck's avatar Thibaut Deheunynck

thibaut

Remove a log
and fix typo

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22958 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 93a5cc91
...@@ -154,7 +154,6 @@ else:\n ...@@ -154,7 +154,6 @@ else:\n
if request_eform.getCompanyModifications():\n if request_eform.getCompanyModifications():\n
organisation_list = [organisation.getObject() for organisation in \\\n organisation_list = [organisation.getObject() for organisation in \\\n
organisation_module.searchFolder(corporate_registration_code=request_eform.getCorporateRegistrationCode())]\n organisation_module.searchFolder(corporate_registration_code=request_eform.getCorporateRegistrationCode())]\n
context.log(organisation_list)\n
for organisation in organisation_list:\n for organisation in organisation_list:\n
activity_free_text = organisation.getActivityFreeText()\n activity_free_text = organisation.getActivityFreeText()\n
activity_list = activity_free_text and activity_free_text.split(\',\') or []\n activity_list = activity_free_text and activity_free_text.split(\',\') or []\n
...@@ -182,12 +181,12 @@ else:\n ...@@ -182,12 +181,12 @@ else:\n
corporate_registration_code = new_registry_number,\n corporate_registration_code = new_registry_number,\n
activity_free_text = request_eform.getCompanyModifiedAddedActivities(),\n activity_free_text = request_eform.getCompanyModifiedAddedActivities(),\n
role=\'commerce/siege\',)\n role=\'commerce/siege\',)\n
assgt = person.newContent(portal_type=\'Assignment\')\n assignment = person.newContent(portal_type=\'Assignment\')\n
assgt.edit(function = \'commerce/commercant\',\n assignment.edit(function = \'commerce/commercant\',\n
destination_form_value = request_eform,\n destination_form_value = request_eform,\n
destination_value = second_organisation)\n destination_value = second_organisation)\n
assgt.openSubmit()\n assignment.openSubmit()\n
assgt.open()\n assignment.open()\n
else:\n else:\n
organisation.edit(title = request_eform.getCompanyModifiedName(),\n organisation.edit(title = request_eform.getCompanyModifiedName(),\n
corporate_name = request_eform.getCompanyModifiedName())\n corporate_name = request_eform.getCompanyModifiedName())\n
...@@ -302,7 +301,7 @@ for history in history_list:\n ...@@ -302,7 +301,7 @@ for history in history_list:\n
<string>removed_activities_list</string> <string>removed_activities_list</string>
<string>removed_activities</string> <string>removed_activities</string>
<string>second_organisation</string> <string>second_organisation</string>
<string>assgt</string> <string>assignment</string>
<string>history_list</string> <string>history_list</string>
<string>history</string> <string>history</string>
</tuple> </tuple>
......
869 871
\ No newline at end of file \ No newline at end of file
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