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

click-odoo-initdb: Don't install some auto_install modules #123

Open
voronind opened this issue Oct 17, 2022 · 1 comment
Open

click-odoo-initdb: Don't install some auto_install modules #123

voronind opened this issue Oct 17, 2022 · 1 comment

Comments

@voronind
Copy link
Contributor

Hello. I want to realize https://github.com/OCA/server-tools/tree/12.0/module_change_auto_install support to disable some auto_install modules.

  1. Script will use odoo config file to determinate modules to skip.
  2. Script will read manifest file by odoo function, no direct reading.
  3. Script will use additional info in cache hash function.

If you aren't against this changes I will start working on PR

@sbidoul
Copy link
Member

sbidoul commented Oct 18, 2022

I'm not sure we want to do this. module_change_auto_install is a hack, to be honest, and supporting that will add a lot of complexity in initdb. Plus you likely need to add it to click-odoo-upgrade too for consistency. And it will be very hard to test.

I my practice, when there are auto_install modules I don't want, I either

  • click-odoo-uninstall them after initial install
  • or patch Odoo to change their manifest

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

No branches or pull requests

2 participants