Skip to content

Commit

Permalink
revert this!
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronHForgeFlow committed Mar 12, 2024
1 parent 8ef32ee commit 5152e0d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 19 deletions.
29 changes: 15 additions & 14 deletions openupgrade_scripts/scripts/project/15.0.1.2/post-migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,18 @@ def _fill_project_task_display_project_id(env):

@openupgrade.migrate()
def migrate(env, version):
_convert_project_task_assigned_users(env)
_add_followers_to_project_for_allowed_internal_users(env)
_add_followers_to_project_for_allowed_portal_users(env)
_add_followers_to_task_for_allowed_users(env)
_fill_project_task_display_project_id(env)
openupgrade.load_data(env.cr, "project", "15.0.1.2/noupdate_changes.xml")
openupgrade.delete_record_translations(
env.cr,
"project",
[
"mail_template_data_project_task",
"rating_project_request_email_template",
],
)
pass
# _convert_project_task_assigned_users(env)
# _add_followers_to_project_for_allowed_internal_users(env)
# _add_followers_to_project_for_allowed_portal_users(env)
# _add_followers_to_task_for_allowed_users(env)
# _fill_project_task_display_project_id(env)
# openupgrade.load_data(env.cr, "project", "15.0.1.2/noupdate_changes.xml")
# openupgrade.delete_record_translations(
# env.cr,
# "project",
# [
# "mail_template_data_project_task",
# "rating_project_request_email_template",
# ],
# )
10 changes: 5 additions & 5 deletions openupgrade_scripts/scripts/project/15.0.1.2/pre-migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ def save_stage_id(env):

@openupgrade.migrate()
def migrate(env, version):
openupgrade.rename_columns(env.cr, _column_renames)
adapt_project_task_dependency(env)
fill_project_project_allow_task_dependencies(env)
fill_project_project_last_update_status(env)
save_stage_id(env)
# openupgrade.rename_columns(env.cr, _column_renames)
# adapt_project_task_dependency(env)
# fill_project_project_allow_task_dependencies(env)
# fill_project_project_last_update_status(env)
# save_stage_id(env)
openupgrade.rename_models(env.cr, _model_renames)
openupgrade.rename_tables(env.cr, _table_renamed)

0 comments on commit 5152e0d

Please sign in to comment.