Commit 39e681ba authored by Fabien Morin's avatar Fabien Morin

update copyright and add a new property :...

update copyright and add a new property : preferred_payroll_resource_use_category usefull do defined wich services ares used in payroll.
(in this way it's possible to set a filter in payroll and display only services we need in payroll)
remove old property preferred_payroll_service_variation_base_category wich is useless now : service variation can be defined in PDM System preferences


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27488 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fd7a2741
############################################################################## ##############################################################################
# #
# Copyright (c) 2008 Nexedi SA and Contributors. All Rights Reserved. # Copyright (c) 2008-2009 Nexedi SA and Contributors. All Rights Reserved.
# Jerome Perrin <jerome@nexedi.com> # Jerome Perrin <jerome@nexedi.com>
# Fabien Morin <fabien@nexedi.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
...@@ -30,9 +31,11 @@ class PayrollPreference: ...@@ -30,9 +31,11 @@ class PayrollPreference:
"""Preferences for erp5_payroll. """Preferences for erp5_payroll.
""" """
_properties = ( _properties = (
{ 'id' : 'preferred_payroll_service_variation_base_category', { 'id' : 'preferred_payroll_resource_use_category',
'description' : 'Defines base categories axes in payroll service variations', 'description' : 'Defines which resources\' use categories has payroll usage in system',
'type' : 'lines', 'type' : 'lines',
'preference' : 1, 'preference' : 1,
'default' : [],
'write_permission': 'Manage properties',
'mode' : '' }, 'mode' : '' },
) )
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