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