Commit e67e1197 authored by Thibaut Deheunynck's avatar Thibaut Deheunynck

thibaut

I have rename a script (r22953) but I forgot to modify interaction workflow related to this script
improve script createPersonFromP0.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22954 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cb3fbbb6
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<key> <string>after_script_name</string> </key> <key> <string>after_script_name</string> </key>
<value> <value>
<list> <list>
<string>liquiderOrganisationFromM4</string> <string>liquidateOrganisationFromM4</string>
<string>printPDFForm</string> <string>printPDFForm</string>
</list> </list>
</value> </value>
......
...@@ -150,7 +150,7 @@ if len(person_list) == 0:\n ...@@ -150,7 +150,7 @@ if len(person_list) == 0:\n
person.edit(gender = \'female\')\n person.edit(gender = \'female\')\n
\n \n
else: # person exists\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 raise ValidationFailed, "Error : There is more than one person with the "\\\n
" title \'%s\', birth date \'%s\' and birthplace \'%s\'" % (request_eform.getTitle(),\n " title \'%s\', birth date \'%s\' and birthplace \'%s\'" % (request_eform.getTitle(),\n
request_eform.getStartDate(),\n request_eform.getStartDate(),\n
......
864 869
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment