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 02e1f1151f968aecb3fc1effcb4a9a301fc6e7d2..fa7deaf0e9c0dbed635b89f0fb657a3fc812c9a9 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 4546d6f04aa0d4e6c5a20df43dca9e7503c98966..0dd217acf8ca7a81b51b27dcd6a53653c0bfd5fb 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