Commit 2cd97293 authored by Łukasz Nowak's avatar Łukasz Nowak

Use new workflow transitions.

parent f6ec2e39
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>context.requestSoftwareReleaseInstallation(software_release_url=context.portal_catalog.getResultValue(uid=software_release_uid).getUrlString())\n <value> <string>context.requestSoftwareRelease(software_release_url=context.portal_catalog.getResultValue(uid=software_release_uid).getUrlString(), state=\'available\')\n
context.Base_redirect(\'Computer_viewSoftwareReleaseManageDialog\', keep_items={\'portal_status_message\': \'Requested Reinstallation\', \'software_release_uid\': software_release_uid})\n context.Base_redirect(\'Computer_viewSoftwareReleaseManageDialog\', keep_items={\'portal_status_message\': \'Requested Reinstallation\', \'software_release_uid\': software_release_uid})\n
</string> </value> </string> </value>
</item> </item>
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>context.requestSoftwareReleaseCleanup(software_release_url=context.portal_catalog.getResultValue(uid=software_release_uid).getUrlString())\n <value> <string>context.requestSoftwareRelease(software_release_url=context.portal_catalog.getResultValue(uid=software_release_uid).getUrlString(), state=\'destroyed\')\n
context.Base_redirect(\'Computer_viewSoftwareReleaseManageDialog\', keep_items={\'portal_status_message\': \'Requested Destruction\', \'software_release_uid\': software_release_uid})\n context.Base_redirect(\'Computer_viewSoftwareReleaseManageDialog\', keep_items={\'portal_status_message\': \'Requested Destruction\', \'software_release_uid\': software_release_uid})\n
</string> </value> </string> </value>
</item> </item>
......
...@@ -75,7 +75,7 @@ computer = portal.portal_catalog.getResultValue(\n ...@@ -75,7 +75,7 @@ computer = portal.portal_catalog.getResultValue(\n
portal_type="Computer",\n portal_type="Computer",\n
)\n )\n
\n \n
computer.requestSoftwareReleaseInstallation(software_release_url=item.getUrlString())\n computer.requestSoftwareRelease(software_release_url=item.getUrlString(), state=\'available\')\n
\n \n
params[\'instance_software_product_uid\'] = None\n params[\'instance_software_product_uid\'] = None\n
params[\'instance_software_release_uid\'] = None\n params[\'instance_software_release_uid\'] = None\n
......
462 463
\ 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