From a72982f245ac0bc9aed1b1504b8fd158b3c121f7 Mon Sep 17 00:00:00 2001
From: Thibaut Deheunynck <thibaut@nexedi.com>
Date: Tue, 12 Aug 2008 13:57:32 +0000
Subject: [PATCH] thibaut remove log in script modifyOrganisationFromM2

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22971 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../scripts/modifyOrganisationFromM2.xml                      | 4 +---
 bt5/erp5_registry_ohada/bt/revision                           | 2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/modifyOrganisationFromM2.xml b/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/modifyOrganisationFromM2.xml
index 02e1f1151f..fa7deaf0e9 100644
--- a/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/modifyOrganisationFromM2.xml
+++ b/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/modifyOrganisationFromM2.xml
@@ -126,7 +126,6 @@ new_registry_number = request_eform.portal_ids.generateNewId(method=attachLocati
 activity_list=[]\n
 organisation_list = [organisation.getObject() for organisation in \\\n
                      organisation_module.searchFolder(corporate_registration_code=corporate_registration_code)]\n
-context.log(organisation_list)\n
 for organisation in organisation_list:\n
   if organisation.getActivityFreeText()!= None:\n
     activity_list = organisation.getActivityFreeText().split(\',\')\n
@@ -137,7 +136,6 @@ for organisation in organisation_list:\n
                         validation_state = \'open_submitted\',\n
                         destination_form_uid = request_eform.getUid())]\n
   for assignment in assignment_list:\n
-    context.log(assignment)\n
     assignment.open()\n
     assignment.edit(destination_value=organisation,\n
                     corporate_registration_code=new_registry_number)\n
@@ -299,8 +297,8 @@ for m2_bis in m2_bis_list:\n
                             <string>_getiter_</string>
                             <string>organisation</string>
                             <string>organisation_list</string>
-                            <string>context</string>
                             <string>None</string>
+                            <string>context</string>
                             <string>destination_form_uid</string>
                             <string>assignment</string>
                             <string>assignment_list</string>
diff --git a/bt5/erp5_registry_ohada/bt/revision b/bt5/erp5_registry_ohada/bt/revision
index 4546d6f04a..0dd217acf8 100644
--- a/bt5/erp5_registry_ohada/bt/revision
+++ b/bt5/erp5_registry_ohada/bt/revision
@@ -1 +1 @@
-872
\ No newline at end of file
+880
\ No newline at end of file
-- 
2.30.9