[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
This commit is contained in:
Quentin (OpenERP) 2011-04-06 15:07:21 +02:00
parent a6fb80e028
commit 8713630eb8
1 changed files with 1 additions and 30 deletions

View File

@ -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:
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: