odoo-ide / vscode-odoo

Visual Studio Code extension for Odoo
https://marketplace.visualstudio.com/items?itemName=trinhanhngoc.vscode-odoo
39 stars 2 forks source link

Unresolved reference #62

Closed hafizhlf closed 7 months ago

hafizhlf commented 7 months ago

Issue Description: I have been experiencing unresolved references in my Odoo project while working with VSCode.

Expected Behavior: I expect the references to be resolved correctly based on the project's configuration.

Actual Behavior: Unresolved references are present, making it challenging to navigate and understand the code effectively.

Environment:

Screenshots/Code Snippets: image

I would appreciate any guidance or assistance in resolving this matter. Thank you for your time and support.

trinhanhngoc commented 7 months ago

Hello @hafizhlf ,

This problem may be due to missing module depends in the manifest. If your module already depended on the project module, then the problem may be due to your project structure.

hafizhlf commented 7 months ago

I appreciate your assistance and guidance. Upon revisiting the issue and carefully following your suggestions, I have identified the root cause. The problem was indeed related to missing projectinformation in the manifest file.

I have now added the necessary details to the manifest, and the unresolved references have been successfully resolved. I want to express my gratitude for pointing me in the right direction.