Commit f7ee67ea authored by Yusei Tahara's avatar Yusei Tahara Committed by Kazuhiko Shiozaki

erp5_core: Print indexing document id.

parent 4e047db4
...@@ -18,7 +18,7 @@ inventory_tag = base_tag + 'inventory' ...@@ -18,7 +18,7 @@ inventory_tag = base_tag + 'inventory'
last_inventory_tag = base_tag + 'last_inventory_activity' last_inventory_tag = base_tag + 'last_inventory_activity'
def reindex(document_list, tag, after_tag): def reindex(document_list, tag, after_tag):
for document in document_list: for document in document_list:
print('#### Indexing %s ####') print('#### Indexing %s ####' % document.getId())
document.activate( document.activate(
priority=additional_priority, priority=additional_priority,
tag=tag, tag=tag,
......
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