-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add a way to prevent conflicting modules to be activated #634
Comments
@kneckinator , can you please help advise on which of the two alternatives above we should pick? |
@gonzalesedwin1123 suggested we try the |
@kneckinator @celinenilla after trying the |
Conflicting modules, such as spp_base (SP-MIS) and spp_farmer_base (Farmer Registry), can be activated by the admin user via the Odoo "Apps" UI. This could lead to errors due to conflicts between the modules. To prevent these issues, a pre_init_hook should be implemented in each conflicting module. The hook will contain a function that checks for the presence of the other conflicting module and prevents activation if it's already installed.
An alternative for this is to use "excludes" in manifest.py.
The text was updated successfully, but these errors were encountered: