Commit d8a95452 authored by Romain Courteaud's avatar Romain Courteaud

Remove hardcoded values generated by the alarm

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42380 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c603e785
......@@ -59,14 +59,10 @@ for sale_order_line in portal.portal_catalog(\n
):\n
sale_order = sale_order_line.getParentValue()\n
if sale_order.getSimulationState() == \'ordered\':\n
# Hardcoded values used for demo purpose.\n
# This has to be replaced by clean Trade Condition\n
sale_order.edit(\n
source_section=\'organisation_module/vifib_internet\',\n
source=\'organisation_module/vifib_internet\')\n
try:\n
sale_order.confirm()\n
except ValueError:\n
# It was not possible to find free Computer Partition\n
continue\n
</string> </value>
</item>
......
317
\ No newline at end of file
320
\ 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