Skip to content
Health
85/100
good
  • Security22/25
    1 minor finding
  • Activity25/25
    Last human commit 1 month ago
  • Required by20/25
    2 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 18.0

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

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

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
hr_calendar_google, hr_holidays

Code analysis

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

Views touched 3

XML IDNameModelTypeStatus
homework_location_wizard_view_form homework.location.wizard.view.form homework.location.wizard form New
view_calendar_event_calendar view.calendar.event.calendar.inherit.calendar calendar.event calendar Inherits calendar.view_calendar_event_calendar
view_res_partner_filter_inherit_calendar res.partner.view.search.inherit.calendar res.partner calendar Inherits base.view_res_partner_filter

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (0)

No new fields.

Public methods (1)
  • get_unusual_days(self, date_from, date_to=None, partner_ids=False)
    @api.model
    Update unusual days to include the days an employee is unavailable according to their working schedule

New fields (8)
  • date Date
    string='Date'
  • day_week_string Char
    compute='_compute_day_week_string'
  • employee_id Many2one → hr.employee
    default=<expr> ondelete='cascade' required=True args: 'hr.employee'
  • employee_name Char
    related='employee_id.name'
  • weekly Boolean
    default=False
  • work_location_id Many2one → hr.work.location
    required=True string='Location' args: 'hr.work.location'
  • work_location_name Char
    related='work_location_id.name' string='Location name'
  • work_location_type Selection
    related='work_location_id.location_type'
Public methods (3)
  • delete_employee_location(self)
  • get_employee_location_info(self)
  • set_employee_location(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • get_working_days_for_all_attendees(self, attendee_ids, date_from, date_to)
    @api.model
  • get_working_hours_for_all_attendees(self, attendee_ids, date_from, date_to)
    @api.model
  • get_worklocation(self, start_date, end_date)

Loading…

Loading…