chore: import enterprise addons 19.0 bulk snapshot

This commit is contained in:
1b-agent committed 2026-09-16 10:13:08 +00:00
commit ca4af030d3
39951 files changed
+15570005

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import l10n_fr_hr_payroll
from . import res_config_settings
@@ -0,0 +1,34 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class ResCompany(models.Model):
_inherit = 'res.company'
plafond_secu = fields.Float(string='Plafond de la Securite Sociale', digits='Payroll')
nombre_employes = fields.Integer(string='Nombre d\'employes')
cotisation_prevoyance = fields.Float(string='Cotisation Patronale Prevoyance', digits='Payroll')
org_ss = fields.Char(string='Organisme de securite sociale')
conv_coll = fields.Char(string='Convention collective')
class HrVersion(models.Model):
_inherit = 'hr.version'
qualif = fields.Char(string='Qualification', groups="hr_payroll.group_hr_payroll_user", tracking=True)
niveau = fields.Char(groups="hr_payroll.group_hr_payroll_user", tracking=True)
coef = fields.Char(string='Coefficient', groups="hr_payroll.group_hr_payroll_user", tracking=True)
class HrPayslip(models.Model):
_inherit = 'hr.payslip'
payment_mode = fields.Char(string='Mode de paiement')
def _get_out_of_contract_calendar(self):
self.ensure_one()
if not self.company_id.country_id.code == 'FR':
return super()._get_out_of_contract_calendar()
return self.company_id.resource_calendar_id
@@ -0,0 +1,14 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo 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", readonly=False)
nombre_employes = fields.Integer(related='company_id.nombre_employes', string="Nombre d'employes", readonly=False)
cotisation_prevoyance = fields.Float(related='company_id.cotisation_prevoyance', string='Cotisation Patronale Prevoyance', readonly=False)
org_ss = fields.Char(related='company_id.org_ss', string="Organisme de securite sociale", readonly=False)
conv_coll = fields.Char(related='company_id.conv_coll', string="Convention collective", readonly=False)