From 4fd3cf21312de9355471cb8c43e2b818171c8791 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Tue, 15 Feb 2011 16:40:05 +0000
Subject: [PATCH]  - avoid joining with delivery table, as it is not sure if
 Open Order is    delivery or not

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43359 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../scripts/Person_requestSoftwareInstance.xml                  | 2 +-
 bt5/vifib_slap/bt/revision                                      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bt5/vifib_slap/WorkflowTemplateItem/portal_workflow/person_slap_interface_workflow/scripts/Person_requestSoftwareInstance.xml b/bt5/vifib_slap/WorkflowTemplateItem/portal_workflow/person_slap_interface_workflow/scripts/Person_requestSoftwareInstance.xml
index acdc06f87e..729a203ef1 100644
--- a/bt5/vifib_slap/WorkflowTemplateItem/portal_workflow/person_slap_interface_workflow/scripts/Person_requestSoftwareInstance.xml
+++ b/bt5/vifib_slap/WorkflowTemplateItem/portal_workflow/person_slap_interface_workflow/scripts/Person_requestSoftwareInstance.xml
@@ -133,7 +133,7 @@ if (request_software_instance is None):\n
     # Update Open Order\n
     # does this order have a client-specific Open Order\n
     open_order = portal.portal_catalog.getResultValue(\n
-      destination_section_uid=person.getUid(),\n
+      default_destination_section_uid=person.getUid(),\n
       portal_type="Open Sale Order",\t \t \n
       simulation_state="started")\n
     if open_order is None:\n
diff --git a/bt5/vifib_slap/bt/revision b/bt5/vifib_slap/bt/revision
index 1713e61879..d61d31715d 100644
--- a/bt5/vifib_slap/bt/revision
+++ b/bt5/vifib_slap/bt/revision
@@ -1 +1 @@
-334
\ No newline at end of file
+336
\ No newline at end of file
-- 
2.30.9