flectra/addons/l10n_fr_hr_payroll/models/res_config_settings.py
2018-01-16 02:34:37 -08:00

15 lines
756 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
from flectra import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = 'res.config.settings'
plafond_secu = fields.Float(related='company_id.plafond_secu', string="Plafond de la Securite Sociale")
nombre_employes = fields.Integer(related='company_id.nombre_employes', string="Nombre d'employes")
cotisation_prevoyance = fields.Float(related='company_id.cotisation_prevoyance', string='Cotisation Patronale Prevoyance')
org_ss = fields.Char(related='company_id.org_ss', string="Organisme de securite sociale")
conv_coll = fields.Char(related='company_id.conv_coll', string="Convention collective")