Commit 0ddcfc4a authored by Łukasz Nowak's avatar Łukasz Nowak

Drop not needed logging.

parent 101560d8
...@@ -52,9 +52,7 @@ ...@@ -52,9 +52,7 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>movement = context\n <value> <string>movement = context\n
\n \n
script.log(\'on %s\' % movement.getPath())\n
if not movement.SimulationMovement_testCommonRule(rule):\n if not movement.SimulationMovement_testCommonRule(rule):\n
script.log(\'on %s does not apply\' % movement.getPath())\n
return False\n return False\n
\n \n
parent = movement.getParentValue()\n parent = movement.getParentValue()\n
...@@ -62,7 +60,6 @@ if parent.getPortalType() != \'Applied Rule\':\n ...@@ -62,7 +60,6 @@ if parent.getPortalType() != \'Applied Rule\':\n
return False\n return False\n
\n \n
parent_rule = parent.getSpecialiseValue()\n parent_rule = parent.getSpecialiseValue()\n
script.log(\'on %s %s\' % (movement.getPath(), parent_rule.getPortalType()))\n
if parent_rule.getPortalType() not in (\'Invoice Root Simulation Rule\',\n if parent_rule.getPortalType() not in (\'Invoice Root Simulation Rule\',\n
\'Invoice Simulation Rule\'):\n \'Invoice Simulation Rule\'):\n
return False\n return False\n
......
77 78
\ 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