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
23 import decimal_precision as dp
26 class res_company(osv.osv):
27 _inherit = 'res.company'
30 'plafond_secu': fields.float('Plafond de la Securite Sociale', digits_compute=dp.get_precision('Payroll')),
31 'nombre_employes': fields.integer('Nombre d\'employes'),
32 'cotisation_prevoyance': fields.float('Cotisation Patronale Prevoyance', digits_compute=dp.get_precision('Payroll')),
33 'org_ss': fields.char('Organisme de securite sociale', size=64),
34 'conv_coll': fields.char('Convention collective', size=64),
39 class hr_contract(osv.osv):
40 _inherit = 'hr.contract'
43 'qualif': fields.char('Qualification', size=64),
44 'niveau': fields.char('Niveau', size=64),
45 'coef': fields.char('Coefficient', size=64),
49 class hr_payslip(osv.osv):
50 _inherit = 'hr.payslip'
53 'payment_mode': fields.char('Mode de paiement', size=64),
57 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: