[Erp5-report] r43860 luke - in /erp5/trunk/bt5/vifib_base: WorkflowTemplateItem/portal_work...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Mar 1 16:12:11 CET 2011


Author: luke
Date: Tue Mar  1 16:12:10 2011
New Revision: 43860

URL: http://svn.erp5.org?rev=43860&view=rev
Log:
 - do not access objects, as this is not required and thanks to using
   urls non-so-privileged users, like Software Instance are able to
   create packing lists

Modified:
    erp5/trunk/bt5/vifib_base/WorkflowTemplateItem/portal_workflow/software_instance_slap_interface_workflow/scripts/SoftwareInstance_createSalePackingList.xml
    erp5/trunk/bt5/vifib_base/bt/revision

Modified: erp5/trunk/bt5/vifib_base/WorkflowTemplateItem/portal_workflow/software_instance_slap_interface_workflow/scripts/SoftwareInstance_createSalePackingList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/vifib_base/WorkflowTemplateItem/portal_workflow/software_instance_slap_interface_workflow/scripts/SoftwareInstance_createSalePackingList.xml?rev=43860&r1=43859&r2=43860&view=diff
==============================================================================
--- erp5/trunk/bt5/vifib_base/WorkflowTemplateItem/portal_workflow/software_instance_slap_interface_workflow/scripts/SoftwareInstance_createSalePackingList.xml [utf8] (original)
+++ erp5/trunk/bt5/vifib_base/WorkflowTemplateItem/portal_workflow/software_instance_slap_interface_workflow/scripts/SoftwareInstance_createSalePackingList.xml [utf8] Tue Mar  1 16:12:10 2011
@@ -61,12 +61,12 @@ portal = context.getPortalObject()\n
 sale_packing_list_module = portal.getDefaultModule(portal_type=\'Sale Packing List\')\n
 sale_packing_list = sale_packing_list_module.newContent(\n
   portal_type=\'Sale Packing List\',\n
-  destination_value=instance_setup_sale_packing_list.getDestinationValue(),\n
-  destination_section_value=instance_setup_sale_packing_list.getDestinationSectionValue(),\n
-  destination_decision_value=instance_setup_sale_packing_list.getDestinationDecisionValue(),\n
-  source_value=instance_setup_sale_packing_list.getSourceValue(),\n
-  source_section_value=instance_setup_sale_packing_list.getSourceSectionValue(),\n
-  price_currency_value=instance_setup_sale_packing_list.getPriceCurrencyValue(),\n
+  destination=instance_setup_sale_packing_list.getDestination(),\n
+  destination_section=instance_setup_sale_packing_list.getDestinationSection(),\n
+  destination_decision_=instance_setup_sale_packing_list.getDestinationDecision(),\n
+  source=instance_setup_sale_packing_list.getSource(),\n
+  source_section=instance_setup_sale_packing_list.getSourceSection(),\n
+  price_currency=instance_setup_sale_packing_list.getPriceCurrency(),\n
   start_date=DateTime())\n
 \n
 instance_hosting_sale_packing_list_line = sale_packing_list.newContent(\n
@@ -90,7 +90,7 @@ return sale_packing_list\n
         </item>
         <item>
             <key> <string>_params</string> </key>
-            <value> <string>state_change, service_relative_url</string> </value>
+            <value> <string>state_change, service_relative_urlg</string> </value>
         </item>
         <item>
             <key> <string>errors</string> </key>
@@ -117,7 +117,7 @@ return sale_packing_list\n
                         <value>
                           <tuple>
                             <string>state_change</string>
-                            <string>service_relative_url</string>
+                            <string>service_relative_urlg</string>
                             <string>_getitem_</string>
                             <string>software_instance</string>
                             <string>_getattr_</string>
@@ -128,6 +128,7 @@ return sale_packing_list\n
                             <string>sale_packing_list_module</string>
                             <string>DateTime</string>
                             <string>sale_packing_list</string>
+                            <string>service_relative_url</string>
                             <string>instance_hosting_sale_packing_list_line</string>
                           </tuple>
                         </value>

Modified: erp5/trunk/bt5/vifib_base/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/vifib_base/bt/revision?rev=43860&r1=43859&r2=43860&view=diff
==============================================================================
--- erp5/trunk/bt5/vifib_base/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/vifib_base/bt/revision [utf8] Tue Mar  1 16:12:10 2011
@@ -1 +1 @@
-208
\ No newline at end of file
+211
\ No newline at end of file



More information about the Erp5-report mailing list