Skip to content

[OU-FIX] project_todo: clear 'to-do' action path before reload - #79

Open
dnplkndll wants to merge 1 commit into
19.0from
19.0-mig-project-todo-pre-migration
Open

[OU-FIX] project_todo: clear 'to-do' action path before reload#79
dnplkndll wants to merge 1 commit into
19.0from
19.0-mig-project-todo-pre-migration

Conversation

@dnplkndll

Copy link
Copy Markdown

Migration work on the ledoent/OpenUpgrade fork (internal review). Rebased onto current 19.0.

19.0 adds the path column on ir.actions.act_window with a unique
constraint and the schema upgrade pre-populates path='to-do' on
project_todo.project_task_action_todo. When the module's data XML
then _load_records() re-writes the same row with path='to-do', the
@api.constrains check finds the record's own existing value as a
duplicate of itself and raises Path to show in the URL must be unique,
aborting the migration at project_todo/views/project_task_views.xml:277.

Null the column in pre-migration so the install path can re-set it
cleanly.

@dnplkndll
dnplkndll force-pushed the 19.0-mig-project-todo-pre-migration branch 4 times, most recently from 41fc47f to 1d5f193 Compare May 30, 2026 03:16
@dnplkndll
dnplkndll force-pushed the 19.0-mig-project-todo-pre-migration branch 5 times, most recently from 0f53f15 to 16b4757 Compare June 5, 2026 19:53
@dnplkndll
dnplkndll force-pushed the 19.0-mig-project-todo-pre-migration branch from 16b4757 to e3cfd4e Compare June 14, 2026 01:25
@dnplkndll dnplkndll changed the title [OU-FIX] project_todo: pre-migrate path collision on ir.actions.act_window [OU-FIX] project_todo: clear 'to-do' action path before reload Jun 14, 2026
@dnplkndll
dnplkndll force-pushed the 19.0-mig-project-todo-pre-migration branch 3 times, most recently from 814fd10 to 59423bb Compare June 19, 2026 12:00
@dnplkndll
dnplkndll force-pushed the 19.0-mig-project-todo-pre-migration branch 6 times, most recently from 1901d2e to 460e77a Compare August 5, 2026 15:22
@dnplkndll
dnplkndll force-pushed the 19.0-mig-project-todo-pre-migration branch 2 times, most recently from 673d6b3 to 7a59977 Compare August 7, 2026 02:08
@dnplkndll
dnplkndll force-pushed the 19.0-mig-project-todo-pre-migration branch from 7a59977 to 5396aba Compare August 7, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant