Commit 63e38ece authored by Łukasz Nowak's avatar Łukasz Nowak

- validate Software Instance after creation to make it loggable

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42558 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3f9b9d6d
......@@ -99,6 +99,7 @@ if (request_software_instance is None):\n
activate_kw={\'tag\': tag},\n
**portal.Base_getNewSoftwareInstanceCoordinate()\n
)\n
request_software_instance.validate()\n
sale_packing_list_line = context.SoftwareInstance_getInstanceSetupPackingListLine(state_change)\n
hosting_subscription_uid = sale_packing_list_line.getAggregateValue(portal_type=\'Hosting Subscription\').getUid()\n
request_software_instance.requestComputerPartition(\n
......
185
\ No newline at end of file
186
\ No newline at end of file
......@@ -97,7 +97,7 @@ if (request_software_instance is None):\n
activate_kw={\'tag\': tag},\n
**portal.Base_getNewSoftwareInstanceCoordinate()\n
)\n
\n
software_instance.validate()\n
subscription = portal.getDefaultModule(portal_type=hosting_subscription_portal_type).newContent(\n
portal_type=hosting_subscription_portal_type,\n
title=requested_partition_reference,\n
......
325
\ No newline at end of file
326
\ 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