Commit 0dd98db2 authored by Łukasz Nowak's avatar Łukasz Nowak

Call correctly.

relative_url has to be passed to SoftwareInstance_bangAsSelf
parent 2905e7b8
...@@ -58,8 +58,8 @@ for computer_partition in [x for x in computer.contentValues(portal_type=\'Compu ...@@ -58,8 +58,8 @@ for computer_partition in [x for x in computer.contentValues(portal_type=\'Compu
# no need to bang trees without any delivery line\n # no need to bang trees without any delivery line\n
continue\n continue\n
software_instance = packing_list_line.getAggregateValue(portal_type=\'Software Instance\')\n software_instance = packing_list_line.getAggregateValue(portal_type=\'Software Instance\')\n
software_instance.activate().SoftwareInstance_bangAsSelf(reference=software_instance.getReference(),\n software_instance.activate().SoftwareInstance_bangAsSelf(relative_url=software_instance.getRelativeUrl(),\n
comment=state_change.kwargs.get(\'comment\', \'\'))\n reference=software_instance.getReference(), comment=state_change.kwargs.get(\'comment\', \'\'))\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
671 672
\ 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