Commit 69a4c98f authored by Romain Courteaud's avatar Romain Courteaud

Do not reset document UID.

This prevent getting a document indexed multiple time.
parent 6291a974
...@@ -55,7 +55,7 @@ skin_tool = portal.portal_skins\n ...@@ -55,7 +55,7 @@ skin_tool = portal.portal_skins\n
for skin_folder in portal.portal_skins.objectValues():\n for skin_folder in portal.portal_skins.objectValues():\n
for skin_document in skin_folder.objectValues():\n for skin_document in skin_folder.objectValues():\n
if skin_document.meta_type == "ERP5 Form":\n if skin_document.meta_type == "ERP5 Form":\n
skin_document.setUid(None)\n # skin_document.setUid(None)\n
skin_document.reindexObject()\n skin_document.reindexObject()\n
</string> </value> </string> </value>
</item> </item>
......
9 10
\ 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