Commit eb2b8c9b authored by Kevin Deldycke's avatar Kevin Deldycke

Remove advantage (now supported by the business template as a generic Pay...

Remove advantage (now supported by the business template as a generic Pay Sheet Transaction Line and Payroll Service).
Change work_duration type to float.
Update code layout.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11502 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a4d2f83f
##############################################################################
#
# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
# Jean-Paul Smets-Solanes <jp@nexedi.com>
# Copyright (c) 2002-2006 Nexedi SARL and Contributors. All Rights Reserved.
# Jean-Paul Smets-Solanes <jp@nexedi.com>
# Kevin Deldycke <kevin_AT_nexedi_DOT_com>
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsability of assessing all potential
......@@ -27,24 +28,23 @@
##############################################################################
class PaySheet:
"""
Properties for PaySheet Transaction objects
"""
"""
Properties for PaySheet Transaction objects
"""
_properties = (
{ 'id' : 'gross_salary', #XXX data duplication
'description' : '',
'type' : 'float',
'mode' : 'w' },
{ 'id' : 'work_duration',
'description' : 'Duration of work.',
'type' : 'date',
'mode' : 'w' },
{ 'id' : 'advantage', #XXX data duplication
'description' : '',
'type' : 'float',
'mode' : 'w' },
)
_properties = (
{ 'id' : 'gross_salary' #XXX data duplication
, 'description' : ''
, 'type' : 'float'
, 'mode' : 'w'
},
{ 'id' : 'work_duration'
, 'description' : 'Duration of work, per month, in hours' #XXX too specific, should be more generic
, 'type' : 'float'
, 'mode' : 'w'
},
)
_categories = ( 'source', 'destination',
'source_section', 'destination_section')
_categories = ( 'source', 'destination'
, 'source_section', 'destination_section'
)
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