Commit c32423b5 authored by Romain Courteaud's avatar Romain Courteaud

Add meta type.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4305 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 05e46403
...@@ -46,6 +46,7 @@ class Entity: ...@@ -46,6 +46,7 @@ class Entity:
- default_address - default_address
""" """
meta_type = 'ERP5 Entity'
# Declarative security # Declarative security
security = ClassSecurityInfo() security = ClassSecurityInfo()
......
...@@ -31,5 +31,6 @@ from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface ...@@ -31,5 +31,6 @@ from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
class Machine: class Machine:
add_permission = Permissions.AddPortalContent add_permission = Permissions.AddPortalContent
meta_type = 'ERP5 Machine'
pass pass
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