Commit 579fe690 authored by Łukasz Nowak's avatar Łukasz Nowak

- follow ERP5@44233: Open Orders are now using validation-like workflow

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44287 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e2f34bd9
...@@ -138,7 +138,7 @@ if (request_software_instance is None):\n ...@@ -138,7 +138,7 @@ if (request_software_instance is None):\n
open_order = portal.portal_catalog.getResultValue(\n open_order = portal.portal_catalog.getResultValue(\n
default_destination_section_uid=person.getUid(),\n default_destination_section_uid=person.getUid(),\n
portal_type="Open Sale Order",\t \t \n portal_type="Open Sale Order",\t \t \n
simulation_state="started")\n validation_state="validated")\n
if open_order is None:\n if open_order is None:\n
person_slap_interface_state = person.getSlapState()\n person_slap_interface_state = person.getSlapState()\n
if person_slap_interface_state == \'open_order_created\':\n if person_slap_interface_state == \'open_order_created\':\n
...@@ -153,7 +153,7 @@ if (request_software_instance is None):\n ...@@ -153,7 +153,7 @@ if (request_software_instance is None):\n
title="ViFiB Open Order")\n title="ViFiB Open Order")\n
person.createOpenOrder(open_order_url=open_order.getRelativeUrl())\n person.createOpenOrder(open_order_url=open_order.getRelativeUrl())\n
open_order.order()\n open_order.order()\n
open_order.start()\n open_order.validate()\n
\n \n
open_order.newContent(\n open_order.newContent(\n
portal_type="Open Sale Order Line",\n portal_type="Open Sale Order Line",\n
......
360 363
\ 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