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