Commit 115f7e69 authored by Fabien Morin's avatar Fabien Morin

object is a python reserved word


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27416 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e16d63be
......@@ -85,9 +85,9 @@ class PaySheetTransaction(Invoice):
# if not find in the paysheet, look on dependence tree
sub_object_list = self.getInheritedObjectValueList(portal_type_list)
object_ratio_list = sub_object_list
for object in object_ratio_list:
if object.getReference() == ratio_reference:
return object.getQuantity()
for ob in object_ratio_list:
if ob.getReference() == ratio_reference:
return ob.getQuantity()
return 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