Commit 878e5bfd authored by Łukasz Nowak's avatar Łukasz Nowak

- rules have to be stable, and forcing ratios on movements is not correct...

 - rules have to be stable, and forcing ratios on movements is not correct (those ratios are 1. by default)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28382 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 933ca5f8
...@@ -64,7 +64,5 @@ class BPMDeliveryRule(BPMRule): ...@@ -64,7 +64,5 @@ class BPMDeliveryRule(BPMRule):
return { return {
'order_value': movement, 'order_value': movement,
'delivery_value': movement, 'delivery_value': movement,
'order_ratio': 1,
'delivery_ratio': 1,
'deliverable': 1, 'deliverable': 1,
} }
...@@ -62,7 +62,5 @@ class BPMOrderRule(BPMDeliveryRule): ...@@ -62,7 +62,5 @@ class BPMOrderRule(BPMDeliveryRule):
"""Order rule specific update dictionary""" """Order rule specific update dictionary"""
return { return {
'order_value': movement, 'order_value': movement,
'order_ratio': 1,
'delivery_ratio': 1,
'deliverable': 1, 'deliverable': 1,
} }
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