Commit bb62124f authored by Yusei Tahara's avatar Yusei Tahara

meta_type must be unique.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26245 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e0a19935
......@@ -49,8 +49,8 @@ class BudgetTransfer(Supply):
)
# CMF Type Definition
meta_type='ERP5 Folder'
portal_type='Budget Transfer'
meta_type='ERP5 Budget Transfer'
portal_type='Budget Transfer'
add_permission = Permissions.AddPortalContent
isPortalContent = 1
isRADContent = 1
......
......@@ -50,8 +50,8 @@ class BudgetTransferLine(SupplyLine):
)
# CMF Type Definition
meta_type='ERP5 Document'
portal_type='Budget Transfer Line'
meta_type='ERP5 Budget Transfer Line'
portal_type='Budget Transfer Line'
add_permission = Permissions.AddPortalContent
isPortalContent = 1
isRADContent = 1
......
......@@ -39,7 +39,7 @@ class CategoryDivergenceTester(PropertyDivergenceTester):
consistency between delivery movement and simulation movement
for some specific categories.
"""
meta_type = 'ERP5 Divergence Tester'
meta_type = 'ERP5 Category Divergence Tester'
portal_type = 'Category Divergence Tester'
add_permission = Permissions.AddPortalContent
isPortalContent = 1
......
......@@ -37,6 +37,8 @@ class IngestionFile(Base, Folder):
for ingested file in Contribution Registry Tool.
"""
meta_type = 'ERP5 Ingestion File'
security = ClassSecurityInfo()
security.declareObjectProtected(Permissions.AccessContentsInformation)
......
......@@ -34,6 +34,6 @@ class PredicateGroup(Predicate):
aaaa
"""
#pass
meta_type = 'ERP5 Predicate'
meta_type = 'ERP5 Predicate Group'
portal_type = 'Predicate Group'
......@@ -39,7 +39,7 @@ class PropertyDivergenceTester(XMLObject):
consistency between delivery movement and simulation movement
for some specific properties.
"""
meta_type = 'ERP5 Divergence Tester'
meta_type = 'ERP5 Property Divergence Tester'
portal_type = 'Property Divergence Tester'
add_permission = Permissions.AddPortalContent
isPortalContent = 1
......
......@@ -39,7 +39,7 @@ class QuantityDivergenceTester(PropertyDivergenceTester):
consistency between delivery movement and simulation movement
for the property quantity.
"""
meta_type = 'ERP5 Divergence Tester'
meta_type = 'ERP5 Quantity Divergence Tester'
portal_type = 'Quantity Divergence Tester'
add_permission = Permissions.AddPortalContent
isPortalContent = 1
......
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