From d54ff2b62b8d1265c12588a3566c26b2038db28b Mon Sep 17 00:00:00 2001 From: Thibaut Deheunynck <thibaut@nexedi.com> Date: Mon, 11 Aug 2008 08:33:54 +0000 Subject: [PATCH] thibaut Remove a log and fix typo git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22958 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../scripts/modifyPhysicalPersonFromP2.xml | 11 +++++------ bt5/erp5_registry_ohada/bt/revision | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/modifyPhysicalPersonFromP2.xml b/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/modifyPhysicalPersonFromP2.xml index bc1f581a80..cbf0d7c105 100644 --- a/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/modifyPhysicalPersonFromP2.xml +++ b/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/modifyPhysicalPersonFromP2.xml @@ -154,7 +154,6 @@ else:\n if request_eform.getCompanyModifications():\n organisation_list = [organisation.getObject() for organisation in \\\n organisation_module.searchFolder(corporate_registration_code=request_eform.getCorporateRegistrationCode())]\n - context.log(organisation_list)\n for organisation in organisation_list:\n activity_free_text = organisation.getActivityFreeText()\n activity_list = activity_free_text and activity_free_text.split(\',\') or []\n @@ -182,12 +181,12 @@ else:\n corporate_registration_code = new_registry_number,\n activity_free_text = request_eform.getCompanyModifiedAddedActivities(),\n role=\'commerce/siege\',)\n - assgt = person.newContent(portal_type=\'Assignment\')\n - assgt.edit(function = \'commerce/commercant\',\n + assignment = person.newContent(portal_type=\'Assignment\')\n + assignment.edit(function = \'commerce/commercant\',\n destination_form_value = request_eform,\n destination_value = second_organisation)\n - assgt.openSubmit()\n - assgt.open()\n + assignment.openSubmit()\n + assignment.open()\n else:\n organisation.edit(title = request_eform.getCompanyModifiedName(),\n corporate_name = request_eform.getCompanyModifiedName())\n @@ -302,7 +301,7 @@ for history in history_list:\n <string>removed_activities_list</string> <string>removed_activities</string> <string>second_organisation</string> - <string>assgt</string> + <string>assignment</string> <string>history_list</string> <string>history</string> </tuple> diff --git a/bt5/erp5_registry_ohada/bt/revision b/bt5/erp5_registry_ohada/bt/revision index 354d30ba65..ad7876489d 100644 --- a/bt5/erp5_registry_ohada/bt/revision +++ b/bt5/erp5_registry_ohada/bt/revision @@ -1 +1 @@ -869 \ No newline at end of file +871 \ No newline at end of file -- 2.30.9