Commit d5cfb647 authored by Tatuya Kamada's avatar Tatuya Kamada

Fix to set a movement as the getExpectedQuantity() parameter bucause the...

Fix to set a movement as the getExpectedQuantity() parameter bucause the method requires at least one parameter.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32543 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e1d633f8
...@@ -590,7 +590,7 @@ class Rule(Predicate, XMLObject): ...@@ -590,7 +590,7 @@ class Rule(Predicate, XMLObject):
property_dict['%s_list' % base_category] = [] property_dict['%s_list' % base_category] = []
# Amount # Amount
property_dict['quantity'] = business_path.getExpectedQuantity() property_dict['quantity'] = business_path.getExpectedQuantity(movement)
# Date # Date
if movement.getStartDate() == movement.getStopDate(): if movement.getStartDate() == movement.getStopDate():
......
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