diff --git a/product/ERP5/Document/ProjectReport.py b/product/ERP5/Document/ProjectReport.py index 9fd71620b27d3213fef5caa19d80ff562afaa334..b68d400ad8f57c0496e5ebee3f7415b048077740 100644 --- a/product/ERP5/Document/ProjectReport.py +++ b/product/ERP5/Document/ProjectReport.py @@ -43,6 +43,7 @@ class ProjectReport(Delivery): The amount of time on a particular project relates to a client. A expense relates to a project. + OUTPHASED BY TASK REPORT """ meta_type = 'ERP5 Project Report' @@ -67,48 +68,3 @@ class ProjectReport(Delivery): # Declarative Interface __implements__ = ( ) - # Factory Type Information - factory_type_information = \ - { 'id' : portal_type - , 'meta_type' : meta_type - , 'description' : 'Use Project Report to track times and expenses in a consulting firm' - , 'icon' : 'document_icon.gif' - , 'product' : 'ERP5' - , 'factory' : 'addProjectReport' - , 'immediate_view' : 'project_report_view' - , 'allow_discussion' : 1 - , 'allowed_content_types': ('Delivery Line', - ) - , 'actions' : - ( { 'id' : 'view' - , 'name' : 'View' - , 'action' : 'project_report_view' - , 'category' : 'object_view' - , 'permissions' : ( - Permissions.View, ) - } - , { 'id' : 'print' - , 'name' : 'Print' - , 'action' : 'project_report_print' - , 'category' : 'object_print' - , 'permissions' : ( - Permissions.View, ) - } - , { 'id' : 'metadata' - , 'name' : 'Metadata' - , 'action' : 'metadata_edit' - , 'category' : 'object_view' - , 'permissions' : ( - Permissions.ModifyPortalContent, ) - } - , { 'id' : 'translate' - , 'name' : 'Translate' - , 'action' : 'translation_template' - , 'category' : 'object_action' - , 'permissions' : ( - Permissions.View, ) - } - ) - } - - diff --git a/product/ERP5/Document/SetPricing.py b/product/ERP5/Document/SetPricing.py index a4387ca8ad5d9fcbec49ee76eb3f46a9d7c9239d..075691aac08bbd68ea0e9af7e13f5d9d68b08b9d 100644 --- a/product/ERP5/Document/SetPricing.py +++ b/product/ERP5/Document/SetPricing.py @@ -58,60 +58,6 @@ class SetPricing(MappedValue, XMLMatrix): , PropertySheet.Pricing ) - # Factory Type Information - factory_type_information = \ - { 'id' : portal_type - , 'meta_type' : meta_type - , 'description' : """\ -Une ligne tarifaire.""" - , 'icon' : 'pricing_icon.gif' - , 'product' : 'ERP5' - , 'factory' : 'addPricing' - , 'immediate_view' : 'pricing_view' - , 'allow_discussion' : 1 - , 'allowed_content_types': ('', - ) - , 'filter_content_types' : 1 - , 'global_allow' : 1 - , 'actions' : - ( { 'id' : 'view' - , 'name' : 'View' - , 'category' : 'object_view' - , 'action' : 'pricing_view' - , 'permissions' : ( - Permissions.View, ) - } - , { 'id' : 'list' - , 'name' : 'Object Contents' - , 'category' : 'object_action' - , 'action' : 'folder_contents' - , 'permissions' : ( - Permissions.View, ) - } - , { 'id' : 'print' - , 'name' : 'Print' - , 'category' : 'object_print' - , 'action' : 'pricing_print' - , 'permissions' : ( - Permissions.View, ) - } - , { 'id' : 'metadata' - , 'name' : 'Metadata' - , 'category' : 'object_view' - , 'action' : 'metadata_edit' - , 'permissions' : ( - Permissions.View, ) - } - , { 'id' : 'translate' - , 'name' : 'Translate' - , 'category' : 'object_action' - , 'action' : 'translation_template_view' - , 'permissions' : ( - Permissions.TranslateContent, ) - } - ) - } - security.declareProtected(Permissions.ModifyPortalContent, '_setQuantityRangeList') def _setQuantityRangeList(self, category_list): """ diff --git a/product/ERP5/Document/Transaction.py b/product/ERP5/Document/Transaction.py index 8d2f512ed10432de6a7424f60dfaf43f9b8adf4e..eb78638ccaf8f5676a28743fa14b2883eac6849f 100644 --- a/product/ERP5/Document/Transaction.py +++ b/product/ERP5/Document/Transaction.py @@ -62,57 +62,3 @@ class Transaction(Delivery): , PropertySheet.Reference ) - # CMF Factory Type Information - factory_type_information = \ - { 'id' : portal_type - , 'meta_type' : meta_type - , 'description' : """\ -An order...""" - , 'icon' : 'transaction_icon.gif' - , 'product' : 'ERP5' - , 'factory' : 'addTransaction' - , 'immediate_view' : 'transaction_view' - , 'allow_discussion' : 1 - , 'allowed_content_types': ('Movement', - ) - , 'filter_content_types' : 1 - , 'global_allow' : 1 - , 'actions' : - ( { 'id' : 'view' - , 'name' : 'View' - , 'category' : 'object_view' - , 'action' : 'transaction_view' - , 'permissions' : ( - Permissions.View, ) - } - , { 'id' : 'list' - , 'name' : 'Object Contents' - , 'category' : 'object_action' - , 'action' : 'folder_contents' - , 'permissions' : ( - Permissions.View, ) - } - , { 'id' : 'print' - , 'name' : 'Print' - , 'category' : 'object_print' - , 'action' : 'transaction_print' - , 'permissions' : ( - Permissions.View, ) - } - , { 'id' : 'metadata' - , 'name' : 'Metadata' - , 'category' : 'object_view' - , 'action' : 'metadata_edit' - , 'permissions' : ( - Permissions.View, ) - } - , { 'id' : 'translate' - , 'name' : 'Translate' - , 'category' : 'object_action' - , 'action' : 'translation_template_view' - , 'permissions' : ( - Permissions.TranslateContent, ) - } - ) - } - diff --git a/product/ERP5/Document/VariatedProperty.py b/product/ERP5/Document/VariatedProperty.py index 88fb222ce51d01c73987abfc7002b481ade6c4df..a4ccad6c28450f24095ecf9ca3e302c1b643a263 100644 --- a/product/ERP5/Document/VariatedProperty.py +++ b/product/ERP5/Document/VariatedProperty.py @@ -67,49 +67,6 @@ class VariatedProperty(XMLObject, XMLMatrix): # Declarative interfaces __implements__ = ( Interface.Variated, ) - # Factory Type Information - factory_type_information = \ - { 'id' : portal_type - , 'meta_type' : meta_type - , 'description' : """\ -A VariatedProperty.""" - , 'icon' : 'variated_reference_icon.gif' - , 'product' : 'ERP5' - , 'factory' : 'addVariatedProperty' - , 'immediate_view' : 'variated_property_view' - , 'actions' : - ( { 'id' : 'view' - , 'name' : 'View' - , 'category' : 'object_view' - , 'action' : 'variated_property_view' - , 'permissions' : ( - Permissions.View, ) - } - , { 'id' : 'print' - , 'name' : 'Print' - , 'category' : 'object_print' - , 'action' : 'variated_reference_print' - , 'permissions' : ( - Permissions.View, ) - } - , { 'id' : 'metadata' - , 'name' : 'Metadata' - , 'category' : 'object_view' - , 'action' : 'metadata_edit' - , 'permissions' : ( - Permissions.View, ) - } - , { 'id' : 'translate' - , 'name' : 'Translate' - , 'category' : 'object_action' - , 'action' : 'translation_template_view' - , 'permissions' : ( - Permissions.TranslateContent, ) - } - ) - } - - security.declareProtected( Permissions.ModifyPortalContent, 'newCellContent' ) def newCellContent(self, id, **kw): """