Commit 0749fc75 authored by Jean-Paul Smets's avatar Jean-Paul Smets

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
parent 522de4b6
......@@ -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
......
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