From 3f6d6edd76aff131da0ae3ab1953804eb5d38905 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Fri, 10 Dec 2010 18:03:50 +0000 Subject: [PATCH] - 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 --- product/ERP5/Document/ComputerPartition.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/product/ERP5/Document/ComputerPartition.py b/product/ERP5/Document/ComputerPartition.py index fc7b570456..0efdf71818 100644 --- a/product/ERP5/Document/ComputerPartition.py +++ b/product/ERP5/Document/ComputerPartition.py @@ -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 + ) -- 2.30.9