Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0][FIX][IMP] web_ir_actions_act_multi: uninstall issue #2817

Open
wants to merge 1 commit into
base: 14.0
Choose a base branch
from

Conversation

sajadkk
Copy link

@sajadkk sajadkk commented May 7, 2024

This commit fixes uninstallation issue of web_ir_actions_act_multi module. At the time of uninstallation, it removes several columns like name, binding_model_id, binding_type, binding_view_types... from ir_actions, ir_act_server, etc. This makes the database not usable anymore.

Fixes #2394

This commit fixes uninstallation issue of web_ir_actions_act_multi module. At the time uninstallation, it removes several columns like name, binding_model_id, binding_type, binding_view_types... from ir_actions, ir_act_server, etc. This makes the database not usable anymore.
Copy link
Member

@gaikaz gaikaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have encountered this issue too and this seems like a way to fix it, but are we sure this doesn't break the intended functionality of the module?

I'm curious why such approach of using the original table was chosen in the first place.

@sajadkk
Copy link
Author

sajadkk commented Jun 28, 2024

it doesn't break the intended functionality

@baguenth
Copy link
Member

baguenth commented Sep 26, 2024

@matiasperalta1 Can you may also take a look? This was initially added by you. Maybe you can also remember why adding _table in the first place? In general I am confused why we need the .py-part at all.

_table = "ir_actions"
_table = "ir_act_multi"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should better do this with an uninstall hook to avoid having another relation. And maybe this could have migration issues when updating the module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants