Commit ca85c850 authored by Fabien Morin's avatar Fabien Morin

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
parent 612109b8
......@@ -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
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