Commit 3f6d6edd authored by Łukasz Nowak's avatar Łukasz Nowak

- as Computer Partition shares a lot of logic from Computer, make

   similar Property Sheet for both


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41356 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a54ad027
......@@ -27,7 +27,7 @@
##############################################################################
from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions
from Products.ERP5Type import Permissions, PropertySheet
from Products.ERP5.Document.Item import Item
class ComputerPartition(Item):
......@@ -38,3 +38,15 @@ class ComputerPartition(Item):
# Declarative security
security = ClassSecurityInfo()
# Declarative properties
property_sheets = ( PropertySheet.Base
, PropertySheet.XMLObject
, PropertySheet.CategoryCore
, PropertySheet.DublinCore
, PropertySheet.Item
, PropertySheet.Amount
, PropertySheet.Computer
, PropertySheet.Mapping
, PropertySheet.Task
, PropertySheet.Reference
)
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