Commit 3c117f6b authored by Fabien Morin's avatar Fabien Morin

update Copyright and remove commented code


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27463 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 936654f6
############################################################################## ##############################################################################
# #
# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved. # Copyright (c) 2002-2009 Nexedi SA and Contributors. All Rights Reserved.
# Jean-Paul Smets-Solanes <jp@nexedi.com> # Jean-Paul Smets-Solanes <jp@nexedi.com>
# Fabien Morin <fabien@nexedi.com>
# #
# WARNING: This program as such is intended to be used by professional # WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsability of assessing all potential # programmers who take the whole responsability of assessing all potential
...@@ -64,15 +65,5 @@ class PaySheetLine(InvoiceLine): ...@@ -64,15 +65,5 @@ class PaySheetLine(InvoiceLine):
, PropertySheet.VariationRange , 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)
def isAccountable(self): def isAccountable(self):
return 1 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