Time Off: 19.0 → 20.0
hr_holidays · odoo · what changed between two Odoo versions of this module, from the stored manifest and static code analysis (models, views and routes in Dev mode).
Dependencies
+2 / −2
Direct Odoo
depends Models
29
Added, removed or changed
Views
+18 / −8 / ~0
Added / removed / changed
HTTP routes
+0 / −0 / ~0
Added / removed / changed
Security findings
0/0 → 0/0
Grave / minor (static analysis)
Manifest
- Module version
- 1.6 → 1.6
Name, license, category, flags and maintainers are unchanged.
Dependencies
- Odoo modules
- + hr_calendar+ hr_work_entry − calendar− hr
Models 29
hr.departure.wizard
removed
Public methods
- −
action_register_departure(self)
hr.employee
changed
Fields
- +
current_work_entry_type_idMany2one → hr.work.entry.type - +
hr_responsible_idMany2one - +
leave_idsOne2many → hr.leave - +
member_of_departmentBoolean - −
current_leave_idMany2one → hr.leave.type
- +
get_allocations_number(self) - −
get_allocation_requests_amount(self) - ~
action_time_off_dashboard(self)→ (self, scale=None)
hr.employee.departure
added
Public methods
- +
action_register(self)
hr.employee.public
changed
Public methods
- ~
action_time_off_dashboard(self)→ (self, scale=None)
hr.leave
changed
Fields
- +
allocation_display_warningChar - +
allowed_request_durationsJson - +
allowed_work_entry_type_idsMany2many → hr.work.entry.type - +
attachment_is_visibleBoolean - +
can_rescheduleBoolean - +
count_asSelection - +
is_time_rule_trimmedBoolean - +
output_leave_idsOne2many → hr.leave - +
request_date_hour_fromDatetime - +
request_date_hour_toDatetime - +
request_durationSelection - +
source_leave_idMany2one → hr.leave - +
time_rule_idMany2one → hr.time.rule - +
time_rule_time_rangeChar - +
work_entry_type_idMany2one → hr.work.entry.type - +
work_entry_type_increases_durationChar - +
work_entry_type_request_unitSelection - +
work_entry_type_requires_allocationBoolean - +
work_entry_type_support_documentBoolean - −
holiday_status_idMany2one → hr.leave.type - −
holiday_status_requires_allocationBoolean - −
leave_type_increases_durationChar - −
leave_type_request_unitSelection - −
leave_type_support_documentBoolean - −
request_unit_halfBoolean - −
request_unit_hoursBoolean
- +
action_open_employee_calendar(self) - +
reschedule_from_calendar(self, date_from, date_to)
hr.leave.accrual.level
changed
Fields
- +
is_based_on_worked_timeBoolean - +
max_carriedover_durationInteger - +
yearly_gainFloat - −
postpone_max_daysInteger
hr.leave.accrual.plan
changed
Fields
- +
allowed_work_entry_type_idsMany2many → hr.work.entry.type - +
work_entry_type_idMany2one → hr.work.entry.type - −
time_off_type_idMany2one → hr.leave.type
- −
copy_data(self, default=None)
hr.leave.allocation
changed
Fields
- +
allowed_work_entry_type_idsMany2many → hr.work.entry.type - +
hide_accrual_plan_idBoolean - +
last_accrualDate - +
number_of_hoursFloat - +
previous_carryover_number_of_daysFloat - +
work_entry_type_idMany2one → hr.work.entry.type - +
yearly_accrued_daysFloat - −
actual_lastcallDate - −
allocation_typeSelection - −
already_accruedBoolean - −
expiring_carryover_daysFloat - −
holiday_status_idMany2one → hr.leave.type - −
last_executed_carryover_dateDate - −
number_of_hours_displayFloat - −
yearly_accrued_amountFloat
- +
default_get(self, fields)
hr.leave.allocation.generate.multi.wizard
changed
Fields
- +
allowed_work_entry_type_idsMany2many → hr.work.entry.type - +
unit_of_measureSelection - +
work_entry_type_idMany2one → hr.work.entry.type - −
allocation_modeSelection - −
allocation_typeSelection - −
category_idMany2one → hr.employee.category - −
department_idMany2one → hr.department - −
holiday_status_idMany2one → hr.leave.type - −
request_unitSelection
hr.leave.display.name.mixin
added
hr.leave.employee.report
added
Fields
- +
colorInteger - +
descriptionChar - +
employee_idMany2one → hr.employee - +
leave_idMany2one → hr.leave - +
number_of_daysFloat - +
number_of_hoursFloat - +
stateSelection - +
work_entry_type_idMany2one → hr.work.entry.type - +
working_schedule_aligned_date_fromDatetime
hr.leave.employee.type.report
changed
Fields
- +
work_entry_type_idMany2one → hr.work.entry.type - −
leave_typeMany2one → hr.leave.type
hr.leave.generate.multi.wizard
changed
Fields
- +
allowed_work_entry_type_idsMany2many → hr.work.entry.type - +
date_from_periodSelection - +
date_to_periodSelection - +
hour_fromFloat - +
hour_toFloat - +
valid_work_entry_type_idsMany2many → hr.work.entry.type - +
work_entry_type_idMany2one → hr.work.entry.type - +
work_entry_type_request_unitSelection - −
allocation_modeSelection - −
category_idMany2one → hr.employee.category - −
department_idMany2one → hr.department - −
holiday_status_idMany2one → hr.leave.type
hr.leave.report
changed
Fields
- +
work_entry_type_idMany2one → hr.work.entry.type - −
holiday_status_idMany2one → hr.leave.type
hr.leave.report.calendar
changed
Fields
- +
request_date_fromDate - +
request_date_hour_fromDatetime - +
request_date_hour_toDatetime - +
request_date_toDate - +
work_entry_type_idMany2one → hr.work.entry.type - −
holiday_status_idMany2one → hr.leave.type - −
start_datetimeDatetime - −
stop_datetimeDatetime
hr.leave.type
removed
Fields
- −
accrual_countFloat - −
accruals_idsOne2many → hr.leave.accrual.plan - −
activeBoolean - −
allocation_countInteger - −
allocation_notif_subtype_idMany2one → mail.message.subtype - −
allocation_validation_typeSelection - −
allow_request_on_topBoolean - −
allows_negativeBoolean - −
colorInteger - −
company_idMany2one → res.company - −
country_codeChar - −
country_idMany2one → res.country - −
create_calendar_meetingBoolean - −
elligible_for_accrual_rateBoolean - −
employee_requestsBoolean - −
group_days_leaveFloat - −
has_valid_allocationBoolean - −
hide_on_dashboardBoolean - −
icon_idMany2one → ir.attachment - −
include_public_holidays_in_durationBoolean - −
is_usedBoolean - −
leave_notif_subtype_idMany2one → mail.message.subtype - −
leave_validation_typeSelection - −
leaves_takenFloat - −
max_allowed_negativeInteger - −
max_leavesFloat - −
nameChar - −
request_unitSelection - −
requires_allocationBoolean - −
responsible_idsMany2many → res.users - −
sequenceInteger - −
support_documentBoolean - −
time_typeSelection - −
unpaidBoolean - −
virtual_remaining_leavesFloat
- −
action_see_accrual_plans(self) - −
action_see_days_allocated(self) - −
action_see_group_leaves(self) - −
check_allocation_requirement_edit_validity(self) - −
copy_data(self, default=None) - −
get_allocation_data(self, employees, target_date=None) - −
get_allocation_data_request(self, target_date=None, hidden_allocations=True) - −
has_accrual_allocation(self) - −
requested_display_name(self)
hr.time.rule
added
Fields
- +
allocation_type_idMany2one → hr.work.entry.type - +
leave_compensation_rateFloat - +
work_entry_type_idMany2one
hr.time.rule.allocation.log
added
Fields
- +
allocation_idMany2one → hr.leave.allocation - +
daysFloat - +
res_idMany2oneReference - +
res_modelChar
hr.time.rule.source.mixin
added
hr.version
changed
Fields
- +
allocation_from_working_schedule_idMany2one → hr.leave.allocation - +
hr_responsible_idMany2one
hr.work.entry.type
added
Fields
- +
allocation_countInteger - +
allocation_notif_subtype_idMany2one → mail.message.subtype - +
allocation_validation_typeSelection - +
allow_request_on_topBoolean - +
allows_negativeBoolean - +
colorInteger - +
count_days_asSelection - +
country_codeChar - +
country_idMany2one → res.country - +
create_calendar_meetingBoolean - +
elligible_for_accrual_rateBoolean - +
employee_requestsBoolean - +
group_days_leaveFloat - +
has_valid_allocationBoolean - +
hide_on_dashboardBoolean - +
include_public_holidays_in_durationBoolean - +
is_usedBoolean - +
leave_notif_subtype_idMany2one → mail.message.subtype - +
leave_validation_typeSelection - +
leaves_takenFloat - +
max_allowed_negativeInteger - +
max_leavesFloat - +
request_unitSelection - +
requires_allocationBoolean - +
support_documentBoolean - +
time_off_selectableBoolean - +
unit_of_measureSelection - +
unpaidBoolean - +
virtual_remaining_leavesFloat
- +
action_see_days_allocated(self) - +
action_see_group_leaves(self) - +
check_allocation_requirement_edit_validity(self) - +
get_allocation_data(self, employees, target_date=None, same_year_only=False) - +
get_allocation_data_request(self, target_date=None, hidden_allocations=True, same_year_only=False) - +
get_work_entry_types_with_valid_allocations(self, date_from, date_to, employee_id) - +
has_accrual_allocation(self) - +
has_future_allocation(self) - +
requested_display_name(self)
load.public.holiday.wizard
added
Fields
- +
line_idsOne2many → load.public.holiday.wizard.line - +
warning_messageHtml - +
yearInteger
- +
action_add_public_holidays(self)
load.public.holiday.wizard.line
added
Fields
- +
allowed_work_entry_type_idsMany2many → hr.work.entry.type - +
company_idMany2one → res.company - +
nameChar - +
start_dateDate - +
wizard_idMany2one → load.public.holiday.wizard - +
work_entry_type_idMany2one → hr.work.entry.type
publisher_warranty.contract
added
res.company
changed
Public methods
- +
create(self, vals_list)
res.groups
added
res.users
changed
Public methods
- −
SELF_READABLE_FIELDS(self)
resource.calendar
changed
Fields
- +
leave_accrual_plan_idMany2one → hr.leave.accrual.plan
- +
action_open_public_holidays(self)
resource.calendar.leaves
changed
Public methods
- +
load_public_holidays(self)
Views
- +
can_be_carryover_noqweb on ir.ui.view - +
can_be_carryover_yesqweb on ir.ui.view - +
hr_leave_employee_report_filtersearch on hr.leave.employee.report - +
hr_leave_employee_report_view_graphgraph on hr.leave.employee.report - +
hr_leave_employee_report_view_pivotpivot on hr.leave.employee.report - +
hr_leave_employee_view_dashboard_monthcalendar on hr.leave, inherits hr_holidays.hr_leave_employee_view_dashboard - +
hr_leave_employee_view_dashboard_weekcalendar on hr.leave, inherits hr_holidays.hr_leave_employee_view_dashboard - +
hr_leave_report_calendar_view_form_with_footerform on hr.leave.report.calendar, inherits hr_holidays.hr_leave_report_calendar_view_form - +
hr_leave_view_calendar_managercalendar on hr.leave, inherits hr_holidays.hr_leave_view_dashboard - +
hr_leave_view_form_dashboard_new_time_off_customform on hr.leave, inherits hr_holidays.hr_leave_view_form_dashboard_new_time_off - +
hr_time_rule_view_form_inherit_hr_holidaysform on hr.time.rule, inherits hr_work_entry.hr_time_rule_view_form - +
hr_time_rule_view_list_inherit_hr_holidayslist on hr.time.rule, inherits hr_work_entry.hr_time_rule_view_list - +
hr_time_rule_view_search_inherit_hr_holidayssearch on hr.time.rule, inherits hr_work_entry.hr_time_rule_view_search - +
hr_work_entry_type_view_formform on hr.work.entry.type, inherits hr_work_entry.hr_work_entry_type_view_form - +
hr_work_entry_type_view_kanbankanban on hr.work.entry.type - +
load_public_holiday_wizard_view_formform on load.public.holiday.wizard - +
resource_calendar_view_form_holidaysform on resource.calendar, inherits resource.resource_calendar_form - +
view_work_entry_type_normal_treetree on hr.work.entry.type, inherits hr_work_entry.hr_work_entry_type_view_tree - −
edit_holiday_status_formform on hr.leave.type - −
hr_holiday_status_view_kanbankanban on hr.leave.type - −
hr_leave_view_calendarcalendar on hr.leave - −
view_holiday_graphgraph on hr.leave - −
view_holiday_listlist on hr.leave - −
view_holiday_pivotpivot on hr.leave - −
view_holiday_status_normal_treelist on hr.leave.type - −
view_holidays_status_filtersearch on hr.leave.type
HTTP routes
No HTTP route changes.
Static analysis of each version's latest snapshot: migration notes for the target version are on the module page. Also available as JSON: /v1/compare/hr_holidays.