diff --git a/product/ERP5/Document/PaySheetCell.py b/product/ERP5/Document/PaySheetCell.py index f3ce1dce2f941b1c7c4756cb2e0bb6970cf08ee1..c34ff88858b6cd1ba826a1f0683ea36c00207477 100644 --- a/product/ERP5/Document/PaySheetCell.py +++ b/product/ERP5/Document/PaySheetCell.py @@ -73,3 +73,6 @@ class PaySheetCell(InvoiceCell): We do not need conversion here """ return self.getQuantity() + + def isAccountable(self): + return 1 diff --git a/product/ERP5/Document/PaySheetLine.py b/product/ERP5/Document/PaySheetLine.py index 35e0e838c76d58ef86360120e595cb85a90d365d..0ee7f1c8942031200b36226b070a403d90585403 100644 --- a/product/ERP5/Document/PaySheetLine.py +++ b/product/ERP5/Document/PaySheetLine.py @@ -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