France - Jours Ouvrables

hr_holidays_jours_ouvrables
REPOSITORY
REPOSITORYOCA/l10n-france
GIT
GIThttps://github.com/OCA/l10n-france.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-france/tree/10.0/hr_holidays_jours_ouvrables
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYFrench Localization
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSAlexis de Lattre, Guewen Baconnier, Alexandre Fayolle, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/hr:
    - hr_public_holidays
    - hr_holidays_compute_days
odoo/odoo:
    - hr_holidays
    - hr
    - base_setup
    - base
    - web_kanban
    - web
    - mail
    - bus
    - web_tour
    - resource
    - calendar
    - base_action_rule
    - web_calendar
    - product
    - decimal_precision
    - report
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
edit_holiday_status_form hr.holidays.status.form hr.holidays.status data Inherits hr_holidays.edit_holiday_status_form
view_company_form res.company.form res.company field Inherits base.view_company_form
Models touched (4)

New fields (1)
  • has_to_deduct_ouvrable Boolean
    compute='_compute_has_to_deduct_ouvrable'
Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
    @api.multi

New fields (4)
  • employee_id Many2one → hr.employee
    comodel_name='hr.employee' required=True string='Employee'
  • holidays_id Many2one → hr.holidays
    comodel_name='hr.holidays' ondelete='cascade' string='Leave'
  • saturday Date
    required=True string='Saturday Date'
  • status_id Many2one → hr.holidays.status
    comodel_name='hr.holidays.status' required=True string='Leave Type'
Public methods (0)

No public methods.

New fields (2)
  • company_has_deduct_ouvrable Boolean
    readonly=True related='company_id.holiday_deduct_ouvrable'
  • deduct_ouvrable Boolean
    default=False string='Deduct Leaves on "Jours ouvrables"'
Public methods (0)

No public methods.

New fields (2)
  • holiday_deduct_ouvrable Boolean
    default=False string='Deduct Leaves on "Jours ouvrables"'
  • holiday_max_number_of_saturday Integer
    default=5 string='Max. number of Saturday Holidays'
Public methods (0)

No public methods.