Commit 14904721 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_pdm: Minor improvement.

parent 498f8050
...@@ -74,11 +74,12 @@ if not person_url:\n ...@@ -74,11 +74,12 @@ if not person_url:\n
\n \n
upgrade_decision = portal.upgrade_decision_module.\\\n upgrade_decision = portal.upgrade_decision_module.\\\n
template_upgrade_decision.Base_createCloneDocument(batch_mode=1)\n template_upgrade_decision.Base_createCloneDocument(batch_mode=1)\n
upgrade_decision.edit(\n \n
title=title,\n upgrade_decision.edit(title=title)\n
destination_section=person_url,\n \n
destination_decision=person_url\n upgrade_decision.setDestinationSection(person_url)\n
)\n upgrade_decision.setDestinationDecision(person_url)\n
\n
decision_line_list = upgrade_decision.contentValues(\n decision_line_list = upgrade_decision.contentValues(\n
portal_type=\'Upgrade Decision Line\')\n portal_type=\'Upgrade Decision Line\')\n
if len(decision_line_list) > 0:\n if len(decision_line_list) > 0:\n
......
36 37
\ 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