Skip to content

Commit

Permalink
[OU-ADD] hr_holidays_attendance: Migration scripts
Browse files Browse the repository at this point in the history
TT45869
  • Loading branch information
pedrobaeza committed May 25, 2024
1 parent 8f530bb commit 1833a93
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docsource/modules150-160.rst
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ Module coverage 15.0 -> 16.0
+-------------------------------------------------+----------------------+-------------------------------------------------+
| hr_holidays | Done | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| hr_holidays_attendance | | |
| hr_holidays_attendance | Done | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| |new| hr_hourly_cost | Nothing to do | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copyright 2024 Tecnativa - Pedro M. Baeza
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from openupgradelib import openupgrade


@openupgrade.migrate()
def migrate(env, version):
openupgrade.load_data(
env.cr, "hr_holidays_attendance", "16.0.1.0/noupdate_changes.xml"
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---Models in module 'hr_holidays_attendance'---
---Fields in module 'hr_holidays_attendance'---
---XML records in module 'hr_holidays_attendance'---
NEW ir.ui.view: hr_holidays_attendance.hr_leave_view_form_overtime
DEL ir.ui.view: hr_holidays_attendance.hr_user_view_form
# NOTHING TO DO: noupdate=0 ir stuff

0 comments on commit 1833a93

Please sign in to comment.