Commit 7da1d23d authored by Łukasz Nowak's avatar Łukasz Nowak

- do not hide errors: inform if found data are not correct

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43988 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 52a8f52f
...@@ -81,7 +81,8 @@ for sale_packing_list_line in sale_packing_list.contentValues(\n ...@@ -81,7 +81,8 @@ for sale_packing_list_line in sale_packing_list.contentValues(\n
sale_packing_list.stop()\n sale_packing_list.stop()\n
if sale_packing_list.getPortalObject().portal_workflow.isTransitionPossible(sale_packing_list, \'deliver\'):\n if sale_packing_list.getPortalObject().portal_workflow.isTransitionPossible(sale_packing_list, \'deliver\'):\n
sale_packing_list.deliver()\n sale_packing_list.deliver()\n
\n if sale_packing_list.getSimulationState() != \'delivered\':\n
raise ValueError(\'It was not possible to deliver %r during destruction of %r\' (sale_packing_list.getRelativeUrl(), software_instance.getRelativeUrl()))\n
# Remove unused open sale order line\n # Remove unused open sale order line\n
subscription_item = sale_packing_list_line.getAggregateValue(portal_type="Hosting Subscription")\n subscription_item = sale_packing_list_line.getAggregateValue(portal_type="Hosting Subscription")\n
all_delivered = True\n all_delivered = True\n
......
356 357
\ 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