[19.0][MIG] bi_sql_editor: Prevent failure if default parent menu is not loaded.#1130
Conversation
…not loaded. Issue occurs when upgrading from an old version of this module. `ValueError: External ID not found in the system: bi_sql_editor.menu_bi_sql_editor`
|
Hi @legalsylvain, |
legalsylvain
left a comment
There was a problem hiding this comment.
Issue occurs when upgrading from an old version of this module.
I don't get it. upgrading should load new xml data. How it can occures? could you elaborate.
(However, this patch doesn't hurt, so approving)
It does, however it seems that Odoo is reading first the column definition (thus running the default lambda function) before checking for changes in the views.
|
How. What a weird upgrade process. I don't have such problem with OCA / OpenUpgrade tools. So indeed, this patch is needed in your case. /ocabot merge patch |
|
This PR looks fantastic, let's merge it! |
|
Congratulations, your PR was merged at 7278b34. Thanks a lot for contributing to OCA. ❤️ |
Issue occurs when upgrading from an old version of this module.
ValueError: External ID not found in the system: bi_sql_editor.menu_bi_sql_editor