[Erp5-report] r44248 jerome - in /erp5/trunk/bt5/erp5_trade: WorkflowTemplateItem/portal_wo...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Mar 14 16:14:58 CET 2011
Author: jerome
Date: Mon Mar 14 16:14:58 2011
New Revision: 44248
URL: http://svn.erp5.org?rev=44248&view=rev
Log:
fix all the Warnings from CMFActivity unable to recognize value for after_path_and_method_id: None
Modified:
erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/container_interaction_workflow/scripts/DeliveryMovement_calculatePacking.xml
erp5/trunk/bt5/erp5_trade/bt/revision
Modified: erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/container_interaction_workflow/scripts/DeliveryMovement_calculatePacking.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/container_interaction_workflow/scripts/DeliveryMovement_calculatePacking.xml?rev=44248&r1=44247&r2=44248&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/container_interaction_workflow/scripts/DeliveryMovement_calculatePacking.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/container_interaction_workflow/scripts/DeliveryMovement_calculatePacking.xml [utf8] Mon Mar 14 16:14:58 2011
@@ -53,13 +53,15 @@
<value> <string>object = state_change[\'object\']\n
delivery = object.getExplanationValue()\n
\n
+activate_kw = dict()\n
if getattr(delivery, \'calculatePacking\', None) is not None:\n
try:\n
container = object.getContainerValue()\n
- path_and_method_id = container.getPath(), \'recursiveImmediateReindexObject\'\n
+ activate_kw[\'path_and_method_id\'] = (container.getPath(),\n
+ \'recursiveImmediateReindexObject\')\n
except AttributeError:\n
- path_and_method_id = None\n
- delivery.activate(after_path_and_method_id=path_and_method_id).calculatePacking()\n
+ pass\n
+ delivery.activate(**activate_kw).calculatePacking()\n
</string> </value>
</item>
<item>
Modified: erp5/trunk/bt5/erp5_trade/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/bt/revision?rev=44248&r1=44247&r2=44248&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_trade/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_trade/bt/revision [utf8] Mon Mar 14 16:14:58 2011
@@ -1 +1 @@
-1109
\ No newline at end of file
+1110
\ No newline at end of file
More information about the Erp5-report
mailing list