diff --git a/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/interactions/m4_validate.xml b/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/interactions/m4_validate.xml index 9021d5d0dd53409672dc2cac1ee06caa0d640c19..b1ac98c4a9194baa5b0ef2578dcbf592e3dd47b7 100644 --- a/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/interactions/m4_validate.xml +++ b/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/interactions/m4_validate.xml @@ -39,7 +39,7 @@ <key> <string>after_script_name</string> </key> <value> <list> - <string>liquiderOrganisationFromM4</string> + <string>liquidateOrganisationFromM4</string> <string>printPDFForm</string> </list> </value> diff --git a/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/createPersonFromP0.xml b/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/createPersonFromP0.xml index 8ee299b189b2712defec5383347eeefc0929e9dd..6e711616bd1690de462d2d62003d28c001ee2801 100644 --- a/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/createPersonFromP0.xml +++ b/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/createPersonFromP0.xml @@ -150,7 +150,7 @@ if len(person_list) == 0:\n person.edit(gender = \'female\')\n \n else: # person exists\n - if len(person_list) >0 :\n + if len(person_list) >1 :\n raise ValidationFailed, "Error : There is more than one person with the "\\\n " title \'%s\', birth date \'%s\' and birthplace \'%s\'" % (request_eform.getTitle(),\n request_eform.getStartDate(),\n diff --git a/bt5/erp5_registry_ohada/bt/revision b/bt5/erp5_registry_ohada/bt/revision index 8800cb9cad74255c7f83630c4e220740e8ce981f..354d30ba65ad042b77fcc8e08062c000a1a2e624 100644 --- a/bt5/erp5_registry_ohada/bt/revision +++ b/bt5/erp5_registry_ohada/bt/revision @@ -1 +1 @@ -864 \ No newline at end of file +869 \ No newline at end of file