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

Catch in correct moment.

parent 5fbb093e
......@@ -66,15 +66,15 @@ for sale_order_line in portal.portal_catalog(\n
except ValidationFailed:\n
# order not ready yet\n
continue\n
except Unauthorized:\n
# user has bad balance\n
continue\n
else:\n
try:\n
sale_order.confirm()\n
except ValueError:\n
# It was not possible to find free Computer Partition\n
continue\n
except Unauthorized:\n
# user has bad balance\n
continue\n
</string> </value>
</item>
<item>
......
544
\ No newline at end of file
545
\ 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