Skip to content

Commit

Permalink
[MIG] hr_holidays_attendance: migrate 15 to 16
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenvietlam0640 committed Jul 14, 2023
1 parent e93dda3 commit b9ae1b1
Show file tree
Hide file tree
Showing 3 changed files with 14 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 | | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| hr_holidays_attendance | | |
| hr_holidays_attendance | Nothing to do | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| |new| hr_hourly_cost | Nothing to do | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
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,7 @@
---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

0 comments on commit b9ae1b1

Please sign in to comment.