diff --git a/themis/fields/widgets.py b/themis/fields/widgets.py index a642fa7..4c03215 100644 --- a/themis/fields/widgets.py +++ b/themis/fields/widgets.py @@ -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())