Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docsource/modules180-190.rst
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ Module coverage 18.0 -> 19.0
+---------------------------------------------------+----------------------+-------------------------------------------------+
| hr_skills_survey | | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| hr_timesheet | | |
| hr_timesheet |Done | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| hr_timesheet_attendance | |No DB layout changes. |
+---------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2026 Hunki Enterprises BV
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from openupgradelib import openupgrade


@openupgrade.migrate()
def migrate(env, version):
openupgrade.load_data(env, "hr_timesheet", "19.0.1.0/noupdate_changes.xml")
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---Models in module 'hr_timesheet'---
new model account.analytic.line.calendar.employee

# NOTHING TO DO: new model to store filters

---Fields in module 'hr_timesheet'---
hr_timesheet / account.analytic.line.calendar.employee / active (boolean) : NEW hasdefault: default
hr_timesheet / account.analytic.line.calendar.employee / checked (boolean) : NEW hasdefault: default
hr_timesheet / account.analytic.line.calendar.employee / employee_id (many2one) : NEW relation: hr.employee
hr_timesheet / account.analytic.line.calendar.employee / user_id (many2one) : NEW relation: res.users, required, hasdefault: default

# NOTHING TO DO: see above

hr_timesheet / project.project / total_timesheet_time (integer): type is now 'float' ('integer')

# NOTHING TO DO: conversion is done by ORM

---XML records in module 'hr_timesheet'---
NEW ir.actions.act_window.view: hr_timesheet.act_hr_timesheet_line_view_calendar
NEW ir.actions.act_window.view: hr_timesheet.timesheet_action_view_all_calendar
NEW ir.model.access: hr_timesheet.access_account_analytic_line_calendar_employee
NEW ir.ui.view: hr_timesheet.hr_employee_public_view_form
NEW ir.ui.view: hr_timesheet.hr_employee_view_kanban_inherit_timesheet
NEW ir.ui.view: hr_timesheet.project_templates_view_list_inherit_timesheet
NEW ir.ui.view: hr_timesheet.view_calendar_account_analytic_line
NEW ir.ui.view: hr_timesheet.view_calendar_account_analytic_line_multi_create
NEW ir.ui.view: hr_timesheet.view_calendar_account_analytic_line_my_timesheets
NEW res.groups.privilege: hr_timesheet.res_groups_privilege_timesheets (noupdate)

# NOTHING TO DO
Loading