From 8713630eb86758aa8f751c8736c677b1446534cc Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Wed, 6 Apr 2011 15:07:21 +0200 Subject: [PATCH] [REF] hr_contract: removed commented code (for 'the sake of clarity' and because bazaar is your historian ^^) bzr revid: qdp-launchpad@openerp.com-20110406130721-ttg9xgrkq5n3ry3d --- addons/hr_contract/hr_contract.py | 31 +------------------------------ 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/addons/hr_contract/hr_contract.py b/addons/hr_contract/hr_contract.py index 9dc0e18c11f..403ba86e625 100644 --- a/addons/hr_contract/hr_contract.py +++ b/addons/hr_contract/hr_contract.py @@ -74,35 +74,6 @@ class hr_passport(osv.osv): ] hr_passport() -#Contract wage type period name -#Fix me: i think we shoul remove this object as we need not the hr.contract.wage.type object -#class hr_contract_wage_type_period(osv.osv): -# _name='hr.contract.wage.type.period' -# _description='Wage Period' -# _columns = { -# 'name': fields.char('Period Name', size=50, required=True, select=True), -# 'factor_days': fields.float('Hours in the period', digits=(12,4), required=True, help='This field is used by the timesheet system to compute the price of an hour of work wased on the contract of the employee') -# } -# _defaults = { -# 'factor_days': 168.0 -# } -#hr_contract_wage_type_period() - -#Contract wage type (hourly, daily, monthly, ...) -#class hr_contract_wage_type(osv.osv): -# _name = 'hr.contract.wage.type' -# _description = 'Wage Type' -# _columns = { -# 'name': fields.char('Wage Type Name', size=50, required=True, select=True), -# 'period_id': fields.many2one('hr.contract.wage.type.period', 'Wage Period', required=True), -# 'factor_type': fields.float('Factor for hour cost', digits=(12,4), required=True, help='This field is used by the timesheet system to compute the price of an hour of work based on the contract of the employee') -# } -# _defaults = { -# 'factor_type': 1.8 -# } -#hr_contract_wage_type() - - class hr_contract_type(osv.osv): _name = 'hr.contract.type' _description = 'Contract Type' @@ -154,4 +125,4 @@ class hr_contract(osv.osv): ] hr_contract() -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: