Skip to content

Commit

Permalink
[FIX] project: missing migration to auto_validation_kanban_state
Browse files Browse the repository at this point in the history
Close #662
  • Loading branch information
duong77476-viindoo authored and royle-vietnam committed Jun 13, 2024
1 parent c83ce10 commit 6f52c3b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions openupgrade_scripts/scripts/project/17.0.1.3/pre-migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ def _rename_fields(env):
"planned_hours",
"allocated_hours",
),
(
"project.task.type",
"project_task_type",
"auto_validation_kanban_state",
"auto_validation_state",
),
],
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ project / project.task.recurrence / wed (boolean) : DEL

project / project.task.type / auto_validation_kanban_state (boolean): DEL
project / project.task.type / auto_validation_state (boolean): NEW hasdefault: default
# DONE pre-migration: rename field

project / project.task.type / legend_blocked (char) : DEL required
project / project.task.type / legend_done (char) : DEL required
project / project.task.type / legend_normal (char) : DEL required
Expand Down

0 comments on commit 6f52c3b

Please sign in to comment.