From bdb34e2f5bd1532e9754b3a2d11ebb4cfaded301 Mon Sep 17 00:00:00 2001 From: nguyenvietlam0640 Date: Wed, 5 Jul 2023 15:56:26 +0700 Subject: [PATCH] [MIG] hr_presence: migrate 15to 16 --- docsource/modules150-160.rst | 2 +- .../scripts/hr_presence/16.0.1.0/post-migration.py | 6 ++++++ .../scripts/hr_presence/16.0.1.0/upgrade_analysis_work.txt | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/hr_presence/16.0.1.0/post-migration.py create mode 100644 openupgrade_scripts/scripts/hr_presence/16.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules150-160.rst b/docsource/modules150-160.rst index 4bfa956a7f1b..94d775b4e37c 100644 --- a/docsource/modules150-160.rst +++ b/docsource/modules150-160.rst @@ -186,7 +186,7 @@ Module coverage 15.0 -> 16.0 +-------------------------------------------------+----------------------+-------------------------------------------------+ | hr_org_chart | |No DB layout changes. | +-------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_presence | |No DB layout changes. | +| hr_presence | Done |No DB layout changes. | +-------------------------------------------------+----------------------+-------------------------------------------------+ | hr_recruitment | | | +-------------------------------------------------+----------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/hr_presence/16.0.1.0/post-migration.py b/openupgrade_scripts/scripts/hr_presence/16.0.1.0/post-migration.py new file mode 100644 index 000000000000..32261f298a42 --- /dev/null +++ b/openupgrade_scripts/scripts/hr_presence/16.0.1.0/post-migration.py @@ -0,0 +1,6 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.load_data(env.cr, "hr_presence", "16.0.1.0/noupdate_changes.xml") diff --git a/openupgrade_scripts/scripts/hr_presence/16.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/hr_presence/16.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..e4602bab2429 --- /dev/null +++ b/openupgrade_scripts/scripts/hr_presence/16.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,6 @@ +---Models in module 'hr_presence'--- +---Fields in module 'hr_presence'--- +---XML records in module 'hr_presence'--- +---nothing has changed in this module-- + +# NOTHING TO DO \ No newline at end of file