Commit cbba00ca authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_pdm: Fix script.

parent 0f24a98e
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<global name="ERP5Form" module="Products.ERP5Form.Form"/> <global name="ERP5 Form" module="erp5.portal_type"/>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
if context.getSimulationState() != \'stopped\':\n if context.getSimulationState() != \'stopped\':\n
return \n return \n
\n \n
if context.UpgradeDecision_isUpgradeFinished():\n if not context.UpgradeDecision_isUpgradeFinished():\n
return \n return \n
\n \n
portal = context.getPortalObject()\n portal = context.getPortalObject()\n
...@@ -109,6 +109,7 @@ event = context.SupportRequest_trySendNotificationMessage(title,\n ...@@ -109,6 +109,7 @@ event = context.SupportRequest_trySendNotificationMessage(title,\n
message, person.getRelativeUrl())\n message, person.getRelativeUrl())\n
\n \n
if event is not None:\n if event is not None:\n
context.setStopDate(DateTime())\n
context.deliver()\n context.deliver()\n
</string> </value> </string> </value>
</item> </item>
......
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