We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
odooly.Client(...).env.uninstall('some_module')
I get:
One or more of the selected modules have already been uninstalled
Because of this line that is executed before the button_uninstall method is actually called: sel.write({'state': 'to remove'})
sel.write({'state': 'to remove'})
Odoo checks if the module's state is either "installed" or "to upgrade" before uninstalling and if it is not, it throws said error.
If I comment out the write line in odooly, it works fine.
Now the line just above it is a comment that says "# A trick to uninstall dependent add-ons" so I wouldn't call removing the line a sure fix yet...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
odooly.Client(...).env.uninstall('some_module')
I get:
One or more of the selected modules have already been uninstalled
Because of this line that is executed before the button_uninstall method is actually called:
sel.write({'state': 'to remove'})
Odoo checks if the module's state is either "installed" or "to upgrade" before uninstalling and if it is not, it throws said error.
If I comment out the write line in odooly, it works fine.
Now the line just above it is a comment that says "# A trick to uninstall dependent add-ons" so I wouldn't call removing the line a sure fix yet...
The text was updated successfully, but these errors were encountered: