[Erp5-report] r40099 jerome - in /erp5/trunk/bt5/erp5_pdm_ui_test: SkinTemplateItem/portal_...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Nov 9 13:55:51 CET 2010


Author: jerome
Date: Tue Nov  9 13:55:49 2010
New Revision: 40099

URL: http://svn.erp5.org?rev=40099&view=rev
Log:
set business process

Modified:
    erp5/trunk/bt5/erp5_pdm_ui_test/SkinTemplateItem/portal_skins/erp5_pdm_ui_test/PdmZuite_createDelivery.xml
    erp5/trunk/bt5/erp5_pdm_ui_test/bt/revision

Modified: erp5/trunk/bt5/erp5_pdm_ui_test/SkinTemplateItem/portal_skins/erp5_pdm_ui_test/PdmZuite_createDelivery.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_pdm_ui_test/SkinTemplateItem/portal_skins/erp5_pdm_ui_test/PdmZuite_createDelivery.xml?rev=40099&r1=40098&r2=40099&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_pdm_ui_test/SkinTemplateItem/portal_skins/erp5_pdm_ui_test/PdmZuite_createDelivery.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_pdm_ui_test/SkinTemplateItem/portal_skins/erp5_pdm_ui_test/PdmZuite_createDelivery.xml [utf8] Tue Nov  9 13:55:49 2010
@@ -2,10 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
+      <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -68,6 +65,7 @@ source_node_id = "erp5_pdm_ui_test_sourc
 destination_node_id = "erp5_pdm_ui_test_destination_node"\n
 \n
 resource_id = "erp5_pdm_ui_test_product"\n
+business_process = \'business_process_module/erp5_default_business_process\'\n
 \n
 quantity = 1\n
 \n
@@ -82,6 +80,7 @@ if state in [\'planned\', \'ordered\']:\
     source_section=\'organisation_module/%s\' % source_node_id,\n
     destination=\'organisation_module/%s\' % destination_node_id,\n
     destination_section=\'organisation_module/%s\' % destination_node_id,\n
+    specialise=business_process,\n
     start_date=DateTime(),\n
   )\n
   order_line = order.newContent(\n
@@ -102,6 +101,7 @@ else:\n
     title=delivery_title,\n
     source=\'organisation_module/%s\' % source_node_id,\n
     destination=\'organisation_module/%s\' % destination_node_id,\n
+    specialise=business_process,\n
     start_date=DateTime(),\n
   )\n
   delivery_line = delivery.newContent(\n
@@ -183,6 +183,7 @@ return "Delivery Created."\n
                             <string>source_node_id</string>
                             <string>destination_node_id</string>
                             <string>resource_id</string>
+                            <string>business_process</string>
                             <string>quantity</string>
                             <string>module</string>
                             <string>order</string>

Modified: erp5/trunk/bt5/erp5_pdm_ui_test/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_pdm_ui_test/bt/revision?rev=40099&r1=40098&r2=40099&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_pdm_ui_test/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_pdm_ui_test/bt/revision [utf8] Tue Nov  9 13:55:49 2010
@@ -1 +1 @@
-30
\ No newline at end of file
+31
\ No newline at end of file




More information about the Erp5-report mailing list