force indexation of mail answer
This commit is contained in:
parent
86e28a175b
commit
ad909b4248
|
@ -331,6 +331,7 @@ class MailIdCreateDoc(BrowserView):
|
|||
folder.invokeFactory(document_type, id=mail.id, title=mail.title,
|
||||
mail_ref_id=mail.numero_courrier)
|
||||
document_object = getattr(folder, mail.id)
|
||||
document_object.reindexObject()
|
||||
|
||||
return self.request.response.redirect(document_object.absolute_url())
|
||||
|
||||
|
|
Reference in New Issue