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 @@ ...@@ -29,9 +29,9 @@
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface 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 A paysheet will store data about the salary of an employee
""" """
...@@ -46,6 +46,9 @@ class PaySheetTransaction(XMLObject): ...@@ -46,6 +46,9 @@ class PaySheetTransaction(XMLObject):
security = ClassSecurityInfo() security = ClassSecurityInfo()
security.declareObjectProtected(Permissions.View) security.declareObjectProtected(Permissions.View)
# Global variables
_transaction_line_portal_type = 'Pay Sheet Transaction Line'
# Default Properties # Default Properties
property_sheets = ( PropertySheet.Base property_sheets = ( PropertySheet.Base
, PropertySheet.SimpleItem , 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