2 ##############################################################################
4 # OpenERP, Open Source Management Solution
5 # Copyright (C) 2011 OpenERP SA (<http://openerp.com>). All Rights Reserved
7 # This program is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU Affero General Public License as published by
9 # the Free Software Foundation, either version 3 of the License, or
10 # (at your option) any later version.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU Affero General Public License for more details.
17 # You should have received a copy of the GNU Affero General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20 ##############################################################################
22 from osv import fields, osv
24 class hr_contract_be(osv.osv):
25 _inherit = 'hr.contract'
28 'reim_travel':fields.float('Reimbursement of travel expenses', digits=(16,2)),
29 'company_car_emp':fields.float('Company car employer', digits=(16,2)),
30 'company_car_wkr':fields.float('Company Car Deduction for Worker', digits=(16,2)),
31 'mis_ex_onss':fields.float('Miscellaneous exempt ONSS ', digits=(16,2)),
32 'ch_value':fields.float('Check Value Meal ', digits=(16,2)),
33 'ch_worker':fields.float('Check Value Meal - by worker ', digits=(16,2)),
34 'insurance':fields.float('Insurance Group - by worker ', digits=(16,2)),
35 'advantage':fields.float('Benefits of various nature ', digits=(16,2)),
36 'suppl_net':fields.float('Net supplements', digits=(16,2)),
37 'retained_net':fields.float('Net retained ', digits=(16,2)),
41 class hr_employee_be(osv.osv):
42 _inherit = 'hr.employee'
45 'statut_fiscal':fields.selection([('without income','Without Income'),('with income','With Income')], 'Tax status for spouse'),
46 'handicap':fields.boolean('Disabled Spouse', help="if recipient spouse is declared disabled by law"),
47 'handicap_child':fields.boolean('Disabled Children', help="if recipient children is/are declared disabled by law"),
48 'resident':fields.boolean('Nonresident', help="if recipient lives in a foreign country"),
49 'number_handicap':fields.integer('Number of disabled children'),