[Erp5-report] r25053 - /erp5/trunk/products/ERP5/ERP5Site.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jan 8 13:07:41 CET 2009


Author: jerome
Date: Thu Jan  8 13:07:41 2009
New Revision: 25053

URL: http://svn.erp5.org?rev=25053&view=rev
Log:
add getPortalBudgetVariationTypeList

Modified:
    erp5/trunk/products/ERP5/ERP5Site.py

Modified: erp5/trunk/products/ERP5/ERP5Site.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ERP5Site.py?rev=25053&r1=25052&r2=25053&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/ERP5Site.py [utf8] (original)
+++ erp5/trunk/products/ERP5/ERP5Site.py [utf8] Thu Jan  8 13:07:41 2009
@@ -718,6 +718,14 @@
       Return crawler index types.
     """
     return self._getPortalGroupedTypeList('crawler_index')
+
+  security.declareProtected(Permissions.AccessContentsInformation,
+                            'getPortalBudgetVariationTypeList')
+  def getPortalBudgetVariationTypeList(self):
+    """
+      Return budget variation types.
+    """
+    return self._getPortalGroupedTypeList('budget_variation')
 
   security.declareProtected(Permissions.AccessContentsInformation,
                             'getPortalSupplyPathTypeList')




More information about the Erp5-report mailing list