Commit 1e606522 authored by Vincent Pelletier's avatar Vincent Pelletier

Improve docstring.

Remove useless tic function : it was originally forsaw to implement nightly jobs on delivery builders, which can now be done using alarm tool.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6898 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b259001c
......@@ -36,26 +36,18 @@ from Products.ERP5Type import Permissions
from Products.ERP5 import _dtmldir
class OrderTool(BaseTool):
"""
The OrderTool implements portal object
orders building policies.
"""
id = 'portal_orders'
meta_type = 'ERP5 Order Tool'
portal_type = 'Order Tool'
allowed_types = ('ERP5 Order Buider',)
# Declarative Security
security = ClassSecurityInfo()
security.declareProtected( Permissions.ManagePortal, 'manage_overview' )
manage_overview = DTMLFile( 'explainOrderTool', _dtmldir )
security.declareProtected(Permissions.ModifyPortalContent, 'tic')
def tic(self):
"""
We will look at all order builder and activate them.
"""
pass
"""
OrderTool is a container for Order Builders.
"""
id = 'portal_orders'
meta_type = 'ERP5 Order Tool'
portal_type = 'Order Tool'
allowed_types = ('ERP5 Order Buider',)
# Declarative Security
security = ClassSecurityInfo()
security.declareProtected( Permissions.ManagePortal, 'manage_overview' )
manage_overview = DTMLFile( 'explainOrderTool', _dtmldir )
InitializeClass(OrderTool)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment