Trịnh Anh Ngọc

Results 87 comments of Trịnh Anh Ngọc

Hello @davdenic , If the extension cannot detect addons paths automatically, you can manually add addons paths to the `python.analysis.extraPaths` setting.

@davdenic , Can you provide screenshots of the import errors, your VSCode workspace structure and the extraPaths setting?

@davdenic , I just tested, everything is still working fine.

@leimantas , Beside the extraPaths setting, you also need to open the Odoo source code (`/usr/lib/python3/dist-packages/odoo`) in VSCode for indexing. This limitation will be addressed in the future versions.

@leimantas , The extension excludes hidden files (`.odoo`) from indexing.

@leimantas , The magic fields are declared in [odoo-stubs](https://github.com/odoo-ide/odoo-stubs). The extension needs to detect your odoo version to set the corresponding odoo-stubs. There may a problem with your project structure...

@jankkm , Can you take some screenshots of your problem?

@jankkm , Can you take a screenshot when hovering `fields`?

@jankkm , Your problem is strange. Can you take a screeshot of your project structure in VSCode?

@jankkm , I could not reproduce the problem. You can try testing if a simpler project structure with just the odoo source code (without `odoo_addons_dev`, `odoo_enterprise`) has the same problem.