-
-
Notifications
You must be signed in to change notification settings - Fork 698
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OU-ADD] hr_holidays_attendance: Migration scripts
TT45869
- Loading branch information
1 parent
8f530bb
commit 1833a93
Showing
3 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
openupgrade_scripts/scripts/hr_holidays_attendance/16.0.1.0/post-migration.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
) |
6 changes: 6 additions & 0 deletions
6
openupgrade_scripts/scripts/hr_holidays_attendance/16.0.1.0/upgrade_analysis_work.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |