Commit 721f4f27 authored by Łukasz Nowak's avatar Łukasz Nowak

Start building after modifications.

parent 4b605467
......@@ -66,8 +66,6 @@ internal_packing_list_module = portal.restrictedTraverse(internal_packing_list_i
internal_packing_list = internal_packing_list_module.newContent(\n
portal_type=\'Internal Packing List\',\n
)\n
internal_packing_list.startBuilding()\n
\n
# User has to access his person profile\n
person_value = portal.ERP5Site_getAuthenticatedMemberPersonValue()\n
# Edit IPL data\n
......@@ -94,6 +92,8 @@ internal_packing_list_line = internal_packing_list.newContent(\n
internal_packing_list.portal_workflow.doActionFor(internal_packing_list, \'confirm_action\')\n
internal_packing_list.portal_workflow.doActionFor(internal_packing_list, \'stop_action\')\n
\n
internal_packing_list.startBuilding()\n
\n
computer.createComputerRegistration(internal_packing_list_url=internal_packing_list.getRelativeUrl())\n
</string> </value>
</item>
......
......@@ -117,7 +117,6 @@ packing_list = module.newContent(\n
price_currency="currency_module/EUR",\n
activate_kw=activate_kw\n
)\n
packing_list.startBuilding()\n
packing_list.newContent(\n
portal_type="Purchase Packing List Line",\n
resource_uid=service_uid,\n
......@@ -127,6 +126,7 @@ packing_list.newContent(\n
)\n
\n
packing_list.confirm(activate_kw=activate_kw)\n
packing_list.startBuilding()\n
]]></string> </value>
......
787
\ No newline at end of file
788
\ 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