Repository
odoo/odoo · module folder
Module version
2.0
Category
Human Resources/Remote Work
Folder size
0.66 MB
License
LGPL-3
Application
No
Auto-installable
Yes
Website
None
Last tracking update
2026-08-15 22:44:18
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Thibault Delavallée, Odoo Translation Bot, Lucas Perais (lpe), Yannick Tivisse, Julien Castiaux, Sébastien Theys, Tiffany Chang (tic), Gorash, Mathieu Duckerts-Antoine, Didier (did), Dylan Kiss (dyki), Xavier Bol (xbo), Mélanie, bary, Tanguy Quéguineur, mano-odoo, Abdelrahman Mahmoud (amah), Krzysztof Magusiak (krma), pajo, Giorgio Tocco (gito), Mongy (abmn), Ziri
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
hr_holidays_homeworking, hr_homeworking_calendar, test_discuss_full
Description

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
res_users_view_form res.users.form.inherit res.users form Inherits hr.res_users_view_form
res_useurs_view_form_profile res.users.preferences.form.inherit res.users form Inherits hr.res_users_view_form_preferences
view_employee_filter view.employee.form.inherit.hr hr.employee form Inherits hr.view_employee_filter
view_employee_form view.employee.form.inherit.hr hr.employee form Inherits hr.view_employee_form
view_employee_tree hr.employee.list.timesheet hr.employee list Inherits hr.view_employee_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (6)

New fields (10)
  • exceptional_location_id Many2one → hr.work.location
    compute='_compute_exceptional_location_id' groups='hr.group_hr_user' help='This is the exceptional, non-weekly, location set for today.' string='Current' args: 'hr.work.location'
  • friday_location_id Many2one → hr.work.location
    string='Friday' args: 'hr.work.location'
  • hr_icon_display Selection
    selection_add=[('presence_home', 'At Home'), ('presence_office', 'At Office'), ('presence_other', 'At Other')]
  • monday_location_id Many2one → hr.work.location
    string='Monday' args: 'hr.work.location'
  • saturday_location_id Many2one → hr.work.location
    string='Saturday' args: 'hr.work.location'
  • sunday_location_id Many2one → hr.work.location
    string='Sunday' args: 'hr.work.location'
  • thursday_location_id Many2one → hr.work.location
    string='Thursday' args: 'hr.work.location'
  • today_location_name Char
  • tuesday_location_id Many2one → hr.work.location
    string='Tuesday' args: 'hr.work.location'
  • wednesday_location_id Many2one → hr.work.location
    string='Wednesday' args: 'hr.work.location'
Public methods (1)
  • get_views(self, views, options=None)
    @api.model

New fields (7)
  • 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'
  • 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 (0)

No public methods.

New fields (8)
  • friday_location_id Many2one → hr.work.location
    string='Friday' args: 'hr.work.location'
  • monday_location_id Many2one → hr.work.location
    string='Monday' args: 'hr.work.location'
  • saturday_location_id Many2one → hr.work.location
    string='Saturday' args: 'hr.work.location'
  • sunday_location_id Many2one → hr.work.location
    string='Sunday' args: 'hr.work.location'
  • thursday_location_id Many2one → hr.work.location
    string='Thursday' args: 'hr.work.location'
  • today_location_name Char
  • tuesday_location_id Many2one → hr.work.location
    string='Tuesday' args: 'hr.work.location'
  • wednesday_location_id Many2one → hr.work.location
    string='Wednesday' args: 'hr.work.location'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (7)
  • friday_location_id Many2one → hr.work.location
    readonly=False related='employee_id.friday_location_id' string='Fridays' args: 'hr.work.location'
  • monday_location_id Many2one → hr.work.location
    readonly=False related='employee_id.monday_location_id' string='Mondays' args: 'hr.work.location'
  • saturday_location_id Many2one → hr.work.location
    readonly=False related='employee_id.saturday_location_id' string='Saturdays' args: 'hr.work.location'
  • sunday_location_id Many2one → hr.work.location
    readonly=False related='employee_id.sunday_location_id' string='Sundays' args: 'hr.work.location'
  • thursday_location_id Many2one → hr.work.location
    readonly=False related='employee_id.thursday_location_id' string='Thursdays' args: 'hr.work.location'
  • tuesday_location_id Many2one → hr.work.location
    readonly=False related='employee_id.tuesday_location_id' string='Tuesdays' args: 'hr.work.location'
  • wednesday_location_id Many2one → hr.work.location
    readonly=False related='employee_id.wednesday_location_id' string='Wednesdays' args: 'hr.work.location'
Public methods (2)
  • SELF_READABLE_FIELDS(self)
    @property
  • SELF_WRITEABLE_FIELDS(self)
    @property

Loading…

Loading…