2018-01-16 06:58:15 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
2018-01-16 11:34:37 +01:00
|
|
|
# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
|
2018-01-16 06:58:15 +01:00
|
|
|
|
2018-01-16 11:34:37 +01:00
|
|
|
from flectra import fields, models
|
2018-01-16 06:58:15 +01:00
|
|
|
|
|
|
|
|
|
|
|
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")
|