[Erp5-report] r22958 - in /erp5/trunk/bt5/erp5_registry_ohada: WorkflowTemplateItem/portal_...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Aug 11 10:33:55 CEST 2008


Author: thibaut
Date: Mon Aug 11 10:33:54 2008
New Revision: 22958

URL: http://svn.erp5.org?rev=22958&view=rev
Log:
thibaut
Remove a log
and fix typo

Modified:
    erp5/trunk/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/modifyPhysicalPersonFromP2.xml
    erp5/trunk/bt5/erp5_registry_ohada/bt/revision

Modified: erp5/trunk/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/modifyPhysicalPersonFromP2.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/modifyPhysicalPersonFromP2.xml?rev=22958&r1=22957&r2=22958&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/modifyPhysicalPersonFromP2.xml (original)
+++ erp5/trunk/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/modifyPhysicalPersonFromP2.xml Mon Aug 11 10:33:54 2008
@@ -154,7 +154,6 @@
   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 @@
                                    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 @@
                             <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>

Modified: erp5/trunk/bt5/erp5_registry_ohada/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_registry_ohada/bt/revision?rev=22958&r1=22957&r2=22958&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_registry_ohada/bt/revision (original)
+++ erp5/trunk/bt5/erp5_registry_ohada/bt/revision Mon Aug 11 10:33:54 2008
@@ -1,1 +1,1 @@
-869
+871




More information about the Erp5-report mailing list