From ca85c8507d805ff87832e3548aa89f4dbbf92e35 Mon Sep 17 00:00:00 2001 From: Fabien Morin <fabien@nexedi.com> Date: Tue, 9 Jun 2009 11:33:38 +0000 Subject: [PATCH] revert r27463, thanks to julien, this code part was not commented. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27467 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/PaySheetLine.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/product/ERP5/Document/PaySheetLine.py b/product/ERP5/Document/PaySheetLine.py index 25b3a9832c..46716bac74 100644 --- a/product/ERP5/Document/PaySheetLine.py +++ b/product/ERP5/Document/PaySheetLine.py @@ -65,5 +65,16 @@ class PaySheetLine(InvoiceLine): , PropertySheet.VariationRange ) + # Cell Related + security.declareProtected( Permissions.ModifyPortalContent, 'newCellContent' ) + def newCellContent(self, id,**kw): + """ + This method can be overriden + """ + self.invokeFactory(type_name="Pay Sheet Cell",id=id) + return self.get(id) + + security.declareProtected(Permissions.AccessContentsInformationi, + 'isAccountable') def isAccountable(self): return 1 -- 2.30.9