[Erp5-report] r28365 - /erp5/trunk/products/ERP5/Document/BPMRule.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Aug 13 14:18:14 CEST 2009


Author: luke
Date: Thu Aug 13 14:18:13 2009
New Revision: 28365

URL: http://svn.erp5.org?rev=28365&view=rev
Log:
 - relation to business path have to be kept untouched
 - as this relation is category use canonised property name - causality_list

Modified:
    erp5/trunk/products/ERP5/Document/BPMRule.py

Modified: erp5/trunk/products/ERP5/Document/BPMRule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/BPMRule.py?rev=28365&r1=28364&r2=28365&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/BPMRule.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/BPMRule.py [utf8] Thu Aug 13 14:18:13 2009
@@ -369,12 +369,13 @@
       property_dict['start_date'] = movement.getStartDate()
       property_dict['stop_date'] = movement.getStopDate()
 
-    # save a relation to business path
-    property_dict['causality_value_list'] = [business_path]
-
     # rule specific
     property_dict.update(**self._getExpandablePropertyUpdateDict(applied_rule,
       movement, business_path, property_dict))
+
+    # save a relation to business path
+    property_dict['causality_list'] = [business_path.getRelativeUrl()]
+
     return property_dict
 
   security.declareProtected(Permissions.ModifyPortalContent, 'expand')




More information about the Erp5-report mailing list