"storage/maria/ma_update.c" did not exist on "76078f2c8417df4695f14b75fc4711417d1f3c08"
Commit 349267de authored by Romain Courteaud's avatar Romain Courteaud

Email is not uniq anymore.

New authentication ways allow to have multiple user with the same email.
parent 166f25ad
...@@ -58,9 +58,7 @@ person_list = []\n ...@@ -58,9 +58,7 @@ person_list = []\n
\n \n
for subject in subject_list:\n for subject in subject_list:\n
if subject:\n if subject:\n
result_list = portal.portal_catalog(limit=2, validation_state="validated", portal_type="Person", default_email_text=subject)\n person_list.extend([x.getObject() for x in portal.portal_catalog(validation_state="validated", portal_type="Person", default_email_text=subject)])\n
if len(result_list) == 1:\n
person_list.append(result_list[0].getObject())\n
\n \n
sale_trade_condition.edit(destination_section_value_list=person_list)\n sale_trade_condition.edit(destination_section_value_list=person_list)\n
</string> </value> </string> </value>
......
489 490
\ 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