Commit c67d1b74 authored by Romain Courteaud's avatar Romain Courteaud

Replace getParent by getParentValue

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16798 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2dabc5b0
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
root_applied_rule = movement.getRootAppliedRule()\n root_applied_rule = movement.getRootAppliedRule()\n
root_rule = root_applied_rule.getSpecialiseValue()\n root_rule = root_applied_rule.getSpecialiseValue()\n
root_movement = movement.getRootSimulationMovement()\n root_movement = movement.getRootSimulationMovement()\n
parent_applied_rule = movement.getParent()\n parent_applied_rule = movement.getParentValue()\n
parent_rule = parent_applied_rule.getSpecialiseValue()\n parent_rule = parent_applied_rule.getSpecialiseValue()\n
return (\n return (\n
root_rule.getPortalType() == "Production Order Rule" and\\\n root_rule.getPortalType() == "Production Order Rule" and\\\n
......
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
root_applied_rule = movement.getRootAppliedRule()\n root_applied_rule = movement.getRootAppliedRule()\n
root_rule = root_applied_rule.getSpecialiseValue()\n root_rule = root_applied_rule.getSpecialiseValue()\n
root_movement = movement.getRootSimulationMovement()\n root_movement = movement.getRootSimulationMovement()\n
parent_applied_rule = movement.getParent()\n parent_applied_rule = movement.getParentValue()\n
parent_rule = parent_applied_rule.getSpecialiseValue()\n parent_rule = parent_applied_rule.getSpecialiseValue()\n
return (\n return (\n
root_rule.getPortalType() == "Production Order Rule" and\\\n root_rule.getPortalType() == "Production Order Rule" and\\\n
......
43 44
\ No newline at end of file \ No newline at end of file
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