Commit d6d08fec authored by Romain Courteaud's avatar Romain Courteaud

slapos_jio: revert: restore WebSection_newCredentialRequest as previously

parent 3dd62e3b
......@@ -34,10 +34,9 @@ credential_request = module.newContent(
site=site,
activity_list=activity_list,
corporate_name=corporate_name,
date_of_birth=date_of_birth,
destination_project=context.getLayoutProperty("configuration_default_project_relative_url"))
date_of_birth=date_of_birth)
credential_request.setCategoryList(category_list + credential_request.getCategoryList())
credential_request.setCategoryList(category_list)
# Same tag is used as in ERP5 Login._setReference, in order to protect against
# concurrency between Credential Request and Person object too
credential_request.reindexObject(activate_kw=dict(tag='set_login_%s' % reference.encode('hex')))
......
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