Repository navigation
Features
Viet Dinh edited this page Dec 2, 2023
·
49 revisions
A more complete listing is also available in the Support Matrix.
- π Python
- π XML
- β JavaScript
-
odoo-lsp initgenerates an.odoo_lspconfig file for the LSP -
odoo-lsp tsconfiggenerates atsconfig.jsonprefilled with paths to legacy modules
- π
*.env.ref() - π
request.render() - π
inherit_id= - π
id=(references only) - π
ref= - π
<menuitem parent=".." />
-
t-inherit=,t-call=- No usage references yet
- π
*.env[] - π
_inherit= - π
comodel_namefor relational fields - π
_name=(references only) - π Mapped access (completions, hover)
fields.*(related='..')@api.{depends,constrains}('..')Model.{mapped,sorted,create,write..}(..)- Fields in domains (for
search,read_groupetc.)
- π
name= - π
Model.field
- VSCode: Ctrl+T, or Quick Open Ctrl+P and prefix with
# - Helix: Space then Shift+S in normal mode
By default, records and models are matched by prefix, unless when the query contains a period in which case
it will be parsed as a module-scoped query. For example base.view_ searches for:
- all records whose
idstarts withview_and defined in thebasemodule; and - all models whose
_namestarts withview_



