Commit f5eb948c authored by Fabien Morin's avatar Fabien Morin

add isAccountable method to use getInventory method on this objects


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17782 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 890d7874
......@@ -73,3 +73,6 @@ class PaySheetCell(InvoiceCell):
We do not need conversion here
"""
return self.getQuantity()
def isAccountable(self):
return 1
......@@ -79,3 +79,5 @@ class PaySheetLine(InvoiceLine):
self.invokeFactory(type_name="Pay Sheet Cell",id=id)
return self.get(id)
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