Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 15 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 6 Odoo series since 7.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis 0 migration notes 2 models 1 view 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
OCA/hr-holidays:
odoo/odoo:
- hr
- web
- bus
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
hr_holidays_public_generator_view hr.holidays.public.generator.view hr.holidays.public.generator form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (4)
  • country_id Many2one → res.country
    domain=[('code', 'in', COUNTRY_GENERATORS)] required=True string='Country' args: 'res.country'
  • state_id Many2one → res.country.state
    string='State' args: 'res.country.state'
  • template_id Many2one → hr.holidays.public
    string='From Template' args: 'hr.holidays.public'
  • year Integer
    default=<expr> required=True
Public methods (4)
  • action_run(self)
  • generate_function_copy_name(self)
  • generate_function_generate_name(self)
  • onchange_template_id(self)
    @api.onchange('template_id')

New fields (0)

No new fields.

Public methods (15)
  • action_copy_de_holidays(self)
  • action_delete_holidays(self, existing_holidays)
  • action_generate_de_holidays(self)
  • calculate_ascension_day(self, easter)
    @api.model
  • calculate_corpus_christi(self, easter)
    @api.model
  • calculate_easter_monday(self, easter)
    @api.model
  • calculate_easter_sunday(self, year)
    @api.model
  • calculate_fixed_holidays(self, existing_holidays)
    @api.model
  • calculate_floating_holidays(self, existing_holidays)
    @api.model
  • calculate_new_good_friday(self, easter)
    @api.model
  • calculate_repentance_day(self, year)
    @api.model
  • calculate_state_fixed_holidays(self, existing_holidays, state=None)
    @api.model
  • calculate_state_floating_holidays(self, existing_holidays, state=None)
    @api.model
  • calculate_whit_monday(self, easter)
    @api.model
  • get_state_ids(self, codes=None)
    @api.model
    :codes: should be a list of states' codes Returns states ids in :codes:

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…