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

The Odoo configuration selected does not match the odoo path in the workspace. Would you like to change it? #110

Open
HBenzaoui opened this issue Jan 18, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@HBenzaoui
Copy link

Describe the bug
The problem appears to be happening because the workspace path in the VS Explorer is different then the odoo folder path of the extension, however this could be a problem for a lot of people as it's a good practice to have the custom addons folder and the odoo.conf file out of the odoo project folder

To Reproduce
I think it would be better if the extension ignores the different between the odoo folder path and the workspace.

The Message error
1

The Odoo Extension configuration
2

**The Odoo project workspace **
3

Thanks

@Louciole Louciole self-assigned this Jan 18, 2024
@Louciole Louciole added the enhancement New feature or request label Jan 18, 2024
@Louciole
Copy link
Member

Hello!
This notification is made to prevent people from using a configuration that does not match the odoo in their workspace (for example if you made a configuration for Odoo 16 and you open a workspace with Odoo 15 you would like to know that it'll not work), it should detect the odoo even if it's not at the root of the workspace.
I can't reproduce the issue (on windows with a similar workspace)
Is your workspace c:odoodev\16.0 or is it a different path?
Thanks

@HBenzaoui
Copy link
Author

Hello,
Yes my workspace as it's shown in the explorer is "C:\odoodev\16.0" while the odoo project path is "C:\odoodev\16.0\odoo"

@Louciole
Copy link
Member

Louciole commented Jan 22, 2024

Hello, thanks for reporting the issue!
It should be resolved in the next release,
If the issue still occur don't hesitate to make a new issue!
Have a nice day

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