Commit 6ee72503 authored by Julien Muchembled's avatar Julien Muchembled

Remove code that shouldn't have been merge in r37129

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37394 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7e6ee97d
...@@ -126,11 +126,6 @@ class TradeCondition(MappedValue, AmountGeneratorMixin, VariatedMixin): ...@@ -126,11 +126,6 @@ class TradeCondition(MappedValue, AmountGeneratorMixin, VariatedMixin):
return context.getAggregatedAmountList(*args, **kw) return context.getAggregatedAmountList(*args, **kw)
#deprecated # XXX #deprecated # XXX
### If all items in final_list has int_index value, then sort it by
### int_index to solve undetermined order problem.
if len([item for item in final_list if not item.getIntIndex()])==0:
final_list.sort(lambda a, b:cmp(a.getIntIndex(), b.getIntIndex()))
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'getEffectiveModel') 'getEffectiveModel')
def getEffectiveModel(self, start_date=None, stop_date=None): def getEffectiveModel(self, start_date=None, stop_date=None):
......
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