Commit ea4e80d9 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_erp5: Missing change on script

parent 9b920c16
Pipeline #20890 failed with stage
in 0 seconds
# Example code: context.getPortalObject().portal_catalog.searchAndActivate(
method_id='SoftwareInstance_renewCertificate',
# Import a standard function, and get the HTML request and response objects. activate_kw=dict(tag=tag, priority=5),
from Products.PythonScripts.standard import html_quote portal_type="Software Instance",
request = container.REQUEST validation_state="validated",
response = request.response **{"slap_item.slap_state": ["start_requested", "stop_requested"]})
# Return a string identifying this script.
print "This is the", script.meta_type, '"%s"' % script.getId(),
if script.title:
print "(%s)" % html_quote(script.title),
print "in", container.absolute_url()
return printed
...@@ -48,6 +48,10 @@ ...@@ -48,6 +48,10 @@
</object> </object>
</value> </value>
</item> </item>
<item>
<key> <string>_params</string> </key>
<value> <string>tag, fixit, **kw</string> </value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>Alarm_renewSoftwareInstanceCertificate</string> </value> <value> <string>Alarm_renewSoftwareInstanceCertificate</string> </value>
......
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