Skip to content

Commit

Permalink
Merge pull request #4434 from Tecnativa/16.0-ou_add-hr_holidays_atten…
Browse files Browse the repository at this point in the history
…dance

[16.0][OU-ADD] hr_holidays_attendance: Migration scripts
  • Loading branch information
pedrobaeza authored May 25, 2024
2 parents 8f530bb + 1833a93 commit 570fa55
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 570fa55

Please sign in to comment.