[Erp5-report] r26578 - /erp5/trunk/products/ERP5/Document/AppliedRule.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Apr 22 11:24:14 CEST 2009


Author: luke
Date: Wed Apr 22 11:24:13 2009
New Revision: 26578

URL: http://svn.erp5.org?rev=26578&view=rev
Log:
 - naming change

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

Modified: erp5/trunk/products/ERP5/Document/AppliedRule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/AppliedRule.py?rev=26578&r1=26577&r2=26578&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/AppliedRule.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/AppliedRule.py [utf8] Wed Apr 22 11:24:13 2009
@@ -207,8 +207,8 @@
       return self.getParentValue().getRootAppliedRule()
 
     security.declareProtected(Permissions.AccessContentsInformation,
-                             'getBusinessProcessModelValue')
-    def getBusinessProcessModelValue(self):
+                             'getBusinessProcessValue')
+    def getBusinessProcessValue(self):
       """Return the business process model that has been used in this
       simulation, or None if no business process has been used.
       """
@@ -222,7 +222,7 @@
           business_process = findBusinessProcessModel(specialise)
           if business_process is not None:
             return business_process
-        
+
       if causality is not None and getattr(causality, 'getSpecialiseValueList',
                                             None) is not None:
         return findBusinessProcessModel(causality)




More information about the Erp5-report mailing list