From 0749fc75f539de50a48b171fee572481e7d751cd Mon Sep 17 00:00:00 2001 From: Jean-Paul Smets <jp@nexedi.com> Date: Mon, 31 Jan 2005 10:35:13 +0000 Subject: [PATCH] remove getSimulationState (implemented by aq_dynamic) add generci param for uilding invoice git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2355 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/PaySheetTransaction.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/product/ERP5/Document/PaySheetTransaction.py b/product/ERP5/Document/PaySheetTransaction.py index 8574f40f47..03f25737e9 100755 --- a/product/ERP5/Document/PaySheetTransaction.py +++ b/product/ERP5/Document/PaySheetTransaction.py @@ -29,9 +29,9 @@ from AccessControl import ClassSecurityInfo from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface -from Products.ERP5Type.XMLObject import XMLObject +from Products.ERP5.Document.Invoice import Invoice -class PaySheetTransaction(XMLObject): +class PaySheetTransaction(Invoice): """ A paysheet will store data about the salary of an employee """ @@ -46,6 +46,9 @@ class PaySheetTransaction(XMLObject): security = ClassSecurityInfo() security.declareObjectProtected(Permissions.View) + # Global variables + _transaction_line_portal_type = 'Pay Sheet Transaction Line' + # Default Properties property_sheets = ( PropertySheet.Base , PropertySheet.SimpleItem -- 2.30.9