Commit c09eef38 authored by Yusei Tahara's avatar Yusei Tahara

erp5_core: Print indexing document id.

parent 7ad7c4c8
...@@ -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