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