Commit 9e25fc8f authored by Aurel's avatar Aurel

call InventoryModule_reindexMovementList at end of archiving in order

to reindex all inventory in date order


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18293 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 74385fe6
......@@ -221,6 +221,13 @@ class ArchiveTool(BaseTool):
)
self.activate(passive_commit=1,
after_method_id=('runInventoryMethod'),
after_tag="runInventoryMethod",
priority=5).InventoryModule_reindexMovementList(sql_catalog_id=destination_sql_catalog_id,
final_activity_tag="InventoryModule_reindexMovementList"
)
if RESPONSE is not None:
URL1 = REQUEST.get('URL1')
RESPONSE.redirect(URL1 + '/portal_archives?portal_status_message=Archiving%20Started')
......
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