Commit 108af835 authored by Fabien Morin's avatar Fabien Morin

sorry, ob was a bad name, document is better

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