Commit 76ba15cd authored by Łukasz Nowak's avatar Łukasz Nowak

- formatting


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28720 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3956615b
......@@ -435,8 +435,10 @@ class GenericRuleTestsMixin:
def _split(self):
"""Invoke manual splitting"""
ratio = .5 # hardcoded value, hopefully float friendly
applied_rule = self.root_document.getCausalityRelatedValue(portal_type='Applied Rule')
for movement in applied_rule.contentValues(portal_type='Simulation Movement'):
applied_rule = self.root_document.getCausalityRelatedValue(
portal_type='Applied Rule')
for movement in applied_rule.contentValues(
portal_type='Simulation Movement'):
new_movement = movement.Base_createCloneDocument(batch_mode=1)
old_quantity = movement.getQuantity()
movement.edit(
......
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