[ADD]l10n_fr_hr_holidays from v17 to 16 to manage french holidays for part-time employees

This commit is contained in:
2025-03-18 16:31:20 +01:00
parent 83c52d7379
commit 0a17bc7642
14 changed files with 1613 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
# -*- 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'
l10n_fr_reference_leave_type = fields.Many2one(
'hr.leave.type',
related='company_id.l10n_fr_reference_leave_type',
readonly=False)
# backport from V170
company_country_code = fields.Char(related="company_id.country_id.code", string="Company Country Code", readonly=True)