Commit 239a65da authored by Romain Courteaud's avatar Romain Courteaud

Wrong removal during d3b46149

parent cce7dea2
...@@ -53,10 +53,19 @@ ...@@ -53,10 +53,19 @@
<value> <string>sale_order = context.getParentValue()\n <value> <string>sale_order = context.getParentValue()\n
if sale_order.getSimulationState() == \'ordered\':\n if sale_order.getSimulationState() == \'ordered\':\n
try:\n try:\n
sale_order.confirm()\n sale_order.Base_checkConsistency()\n
except ValueError:\n except ValidationFailed:\n
# It was not possible to find free Computer Partition\n # order not ready yet\n
pass\n pass\n
else:\n
try:\n
sale_order.confirm()\n
except ValueError:\n
# It was not possible to find free Computer Partition\n
pass\n
except Unauthorized:\n
# user has bad balance\n
pass\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
574 575
\ 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