Repository
OCA/hr · module folder · Try on Runboat
Module version
1.0.0
Category
Human Resources
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/hr
Last tracking update
2026-08-07 07:32:00
Authors
Odoo Community Association (OCA), Onestein
Maintainers
Odoo Community Association (OCA), Onestein
Committers
Andrea, Weblate, OCA Transbot, OCA-git-bot, oca-travis
Odoo dependencies
odoo/odoo:
- hr
- web
- bus
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
hr_leave_report_tree hr.leave.report tree Inherits hr_holidays.hr_leave_report_tree
view_employee_form_leave_inherit hr.employee form Inherits hr_holidays.view_employee_form_leave_inherit
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (1)
  • leaves_count Float
    compute='_compute_leaves_count' args: 'Number of Leaves'
Public methods (0)

No public methods.

New fields (1)
  • number_of_hours Float
    compute='_compute_number_of_hours' help='Number of hours of the leave request according to your working schedule.' readonly=True store=True args: 'Duration (hours)'
Public methods (0)

No public methods.

New fields (1)
  • number_of_hours Float
    compute='_compute_number_of_hours' help='UX field allowing to see and modify the allocation duration,computed in hours.' readonly=True store=True args: 'Allocated hours'
Public methods (0)

No public methods.

New fields (1)
  • number_of_hours Float
    readonly=True args: 'Duration (hours)'
Public methods (1)
  • init(self)
    Inject parts in the query with this hack, fetching the query and recreating it. Query is returned all in upper case and with final ';'.

Loading…

Loading…