Odoo Documentation

Import on vscode

File -> Preferences -> Settings -> type import -> Choose Python on the left
Click on "Edit in settings.json":
"python.analysis.extraPaths": ["/your/path/to/odoo-16.0/" ]
Restart VS Code and enjoy.