Commit 14b33624 authored by Romain Courteaud's avatar Romain Courteaud

Remove useless immediateReindexObject in expand.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3143 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 24ecca64
...@@ -138,7 +138,6 @@ class OrderRule(Rule): ...@@ -138,7 +138,6 @@ class OrderRule(Rule):
) )
LOG('OrderRule.expand, object created:',0, \ LOG('OrderRule.expand, object created:',0, \
new_line.getPhysicalPath()) new_line.getPhysicalPath())
new_line.immediateReindexObject()
#LOG('After Create Cell', 0, str(new_id)) #LOG('After Create Cell', 0, str(new_id))
else: else:
if order_line_object.getUid() not in existing_uid_list: if order_line_object.getUid() not in existing_uid_list:
...@@ -163,7 +162,6 @@ class OrderRule(Rule): ...@@ -163,7 +162,6 @@ class OrderRule(Rule):
) )
LOG('OrderRule.expand, object created:',0, \ LOG('OrderRule.expand, object created:',0, \
new_line.getPhysicalPath()) new_line.getPhysicalPath())
new_line.immediateReindexObject()
LOG('After Create Cell', 0, str(new_id)) LOG('After Create Cell', 0, str(new_id))
# Source, Destination, Quantity, Date, etc. are # Source, Destination, Quantity, Date, etc. are
# acquired from the order and need not to be copied. # acquired from the order and need not to be copied.
......
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