Commit 254d6ba7 authored by Łukasz Nowak's avatar Łukasz Nowak

Typo.

parent 8cbeb194
...@@ -56,7 +56,7 @@ if context.getPortalType() != \'Sale Invoice Transaction\' \\\n ...@@ -56,7 +56,7 @@ if context.getPortalType() != \'Sale Invoice Transaction\' \\\n
raise TypeError(\'Incorrect delivery.\')\n raise TypeError(\'Incorrect delivery.\')\n
isTransitionPossible = portal.portal_workflow.isTransitionPossible\n isTransitionPossible = portal.portal_workflow.isTransitionPossible\n
if context.getSimulationState() == \'confirmed\' and len(context.checkConsistency()) == 0 and context.getCausalityState() == \'solved\':\n if context.getSimulationState() == \'confirmed\' and len(context.checkConsistency()) == 0 and context.getCausalityState() == \'solved\':\n
comment = \'Delivered by alarm as all actions in confirmed state are ready.\'\n comment = \'Stopped by alarm as all actions in confirmed state are ready.\'\n
if isTransitionPossible(context, \'start\'):\n if isTransitionPossible(context, \'start\'):\n
context.start(comment=comment)\n context.start(comment=comment)\n
if isTransitionPossible(context, \'stop\'):\n if isTransitionPossible(context, \'stop\'):\n
......
174 175
\ 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