Commit c307a97f authored by Sebastien Robin's avatar Sebastien Robin

fixed typo error

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33051 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5d03d8c8
...@@ -179,7 +179,7 @@ class TradeCondition(Path, Transformation, XMLMatrix): ...@@ -179,7 +179,7 @@ class TradeCondition(Path, Transformation, XMLMatrix):
reference_list = [] reference_list = []
trade_model_line_composed_list = [] trade_model_line_composed_list = []
containting_object_list = [] containing_object_list = []
start_date = None start_date = None
stop_date = None stop_date = None
if context is not None: if context is not None:
...@@ -188,14 +188,14 @@ class TradeCondition(Path, Transformation, XMLMatrix): ...@@ -188,14 +188,14 @@ class TradeCondition(Path, Transformation, XMLMatrix):
# if context is movement it is needed to ask its explanation # if context is movement it is needed to ask its explanation
# for contained Trade Model Lines # for contained Trade Model Lines
document = context.getExplanationValue() document = context.getExplanationValue()
containting_object_list.append(document) containing_object_list.append(document)
start_date = document.getStartDate() start_date = document.getStartDate()
stop_date = document.getStopDate() stop_date = document.getStopDate()
containting_object_list.extend(\ containing_object_list.extend(\
self.findEffectiveSpecialiseValueList(context=self, self.findEffectiveSpecialiseValueList(context=self,
start_date=start_date, stop_date=stop_date)) start_date=start_date, stop_date=stop_date))
for specialise in containting_object_list: for specialise in containing_object_list:
for trade_model_line in specialise.contentValues( for trade_model_line in specialise.contentValues(
portal_type=portal_type_list): portal_type=portal_type_list):
reference = trade_model_line.getReference() reference = trade_model_line.getReference()
......
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