[Erp5-report] r34534 jp - /erp5/trunk/products/ERP5Type/Tool/ClassTool.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Apr 14 08:33:16 CEST 2010


Author: jp
Date: Wed Apr 14 08:33:14 2010
New Revision: 34534

URL: http://svn.erp5.org?rev=34534&view=rev
Log:
Add a portal type to class tool (so that it can have actions for example)

Modified:
    erp5/trunk/products/ERP5Type/Tool/ClassTool.py

Modified: erp5/trunk/products/ERP5Type/Tool/ClassTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Tool/ClassTool.py?rev=34534&r1=34533&r2=34534&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Tool/ClassTool.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/Tool/ClassTool.py [utf8] Wed Apr 14 08:33:14 2010
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 ##############################################################################
 #
 # Copyright (c) 2002-2009 Nexedi SA and Contributors. All Rights Reserved.
@@ -251,6 +252,7 @@
       """
       id = 'portal_classes'
       meta_type = 'ERP5 Class Tool'
+      portal_type = 'Class Tool'
 
       # Declarative Security
       security = ClassSecurityInfo()
@@ -1094,6 +1096,7 @@
       """
       id = 'portal_classes'
       meta_type = 'ERP5 Dummy Class Tool'
+      portal_type = 'Dummy Class Tool'
 
       # Declarative Security
       security = ClassSecurityInfo()




More information about the Erp5-report mailing list