Commit bc79f469 authored by Romain Courteaud's avatar Romain Courteaud

Remove useless reindexObject in _createOrderRule.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3144 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 14b33624
......@@ -98,7 +98,6 @@ class Order(Delivery):
my_applied_rule.setCausalityValue(self)
# We must make sure this rule is indexed
# now in order not to create another one later
my_applied_rule.immediateReindexObject()
elif len(my_applied_rule_list) == 1:
# Re expand the rule if possible
my_applied_rule = my_applied_rule_list[0]
......
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