Commit dcc8022e authored by Łukasz Nowak's avatar Łukasz Nowak

Fixup 8d6db017

parent 562efe77
...@@ -61,7 +61,8 @@ except AttributeError:\n ...@@ -61,7 +61,8 @@ except AttributeError:\n
# does not come from Order\n # does not come from Order\n
pass\n pass\n
\n \n
comment = translateString(\'Automatic transition during build.\')\n portal = packing_list.getPortalObject()\n
comment = context.Base_translateString(\'Automatic transition during build.\')\n
if portal.portal_workflow.isTransitionPossible(context, \'confirm\'):\n if portal.portal_workflow.isTransitionPossible(context, \'confirm\'):\n
context.confirm(comment=comment)\n context.confirm(comment=comment)\n
if portal.portal_workflow.isTransitionPossible(context, \'start\'):\n if portal.portal_workflow.isTransitionPossible(context, \'start\'):\n
...@@ -69,9 +70,6 @@ if portal.portal_workflow.isTransitionPossible(context, \'start\'):\n ...@@ -69,9 +70,6 @@ if portal.portal_workflow.isTransitionPossible(context, \'start\'):\n
context.stop(comment=comment)\n context.stop(comment=comment)\n
context.deliver(comment=comment)\n context.deliver(comment=comment)\n
\n \n
line = packing_list.contentValues(portal_type=\'Sale Packing List Line\')[0]\n
portal = packing_list.getPortalObject()\n
\n
# Initialise causality workflow\n # Initialise causality workflow\n
packing_list.startBuilding()\n packing_list.startBuilding()\n
</string> </value> </string> </value>
......
33 34
\ 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