Commit 41b4e381 authored by Aurel's avatar Aurel

propagate sql_catalog_id parameter if present


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16665 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5d04613a
......@@ -222,7 +222,8 @@ class Inventory(Delivery):
# Reindex objects
object_list = [self]
self.portal_catalog.catalogObjectList(object_list,
self.portal_catalog.catalogObjectList(object_list,
sql_catalog_id = sql_catalog_id,
disable_archive=disable_archive)
if len(stock_object_list)==0:
# Make sure to remove all lines
......@@ -230,5 +231,6 @@ class Inventory(Delivery):
stock_append(temp_constructor(self, inventory_id, uid=inventory_uid))
self.portal_catalog.catalogObjectList(
stock_object_list, method_id_list=('z_catalog_stock_list', ),
sql_catalog_id = sql_catalog_id,
disable_cache=1, check_uid=0, disable_archive=disable_archive)
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