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

Is there a proper way to set server_wide_modules option before running tests? #47

Open
petrus-v opened this issue Mar 7, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@petrus-v
Copy link

petrus-v commented Mar 7, 2023

Is your feature request related to a problem?

I've develop a werkzeurg middle-ware to redirect http to https in the following PR OCA/server-tools#2558

Before running test (therefor lauching odoo server) unit test require to add module in the server_wide_modules list

Describe the solution you'd like

I'm wondering if there is a proper approach to consider already implemented or to implement that would avoid breaking maintenance task on github action files ?

Or probably this something in copier template https://github.com/OCA/oca-addons-repo-template instead of this project ?

Describe alternatives you've considered

As working alternative I've update the odoo.cfg file running a shell command https://github.com/OCA/server-tools/pull/2558/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88R76

@petrus-v petrus-v added the enhancement New feature or request label Mar 7, 2023
@rousseldenis
Copy link

I have the same issue for queue_job. This one becomes more and more used intensively, so, it should be great to allow server_wide_modules configuration. Then, the must, should be to configure it through copier questions like rebel modules.

@sbidoul

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

No branches or pull requests

2 participants