odoo-lsp icon indicating copy to clipboard operation
odoo-lsp copied to clipboard

Language server for Odoo Python/JS/XML

Results 14 odoo-lsp issues
Sort by recently updated
recently updated
newest added

Important for CI validation and robustness checking.

**Context-aware code searching:** - [ ] Function overrides **Local code searching:** - [x] ~~`fields.*(compute='..')`~~ should be handled with local search instead - [x] ~~`fields.*(default=..)`~~ ditto **XML** - [x] Go to...

enhancement

When using `t-call`, a lot of bindings are assumed to be either from the template context, or supplied by callees. However, as a callee, it is impossible to know and...

enhancement
hard

- [ ] `Model.user_has_group` - [x] Handle basic syntax (aka `User.has_group`) - [x] Handle comma-separated syntax - [x] ~~Handle negation~~ wontfix - [x] `groups=`

enhancement

- [x] `t-call=` - [x] completion - [ ] references - [x] `t-inherit=` - [x] completion - [x] references

enhancement

- [x] `class Foo extends Component` - [x] `Foo.template =` - [x] `static template =` - [x] Parse `Foo.components =` for autocompletion in template - [x] `` goto-definition/references/.. - [x]...

enhancement

- When: - Accessed field is of model `ir.model.data` - In XML only (ref=) - What: Complete with model names from model index - How: e.g. `res.users` to `base.model_res_users`

enhancement
good first issue

- [ ] Parser/lexer and syntax diagnostics - [ ] Merge archs - [ ] Expression validity diagnostics

enhancement
hard

Reuse the completion mechanism to provide diagnostics. - [x] Non-existent fields on models - [x] Invalid mapped access - [x] Non-existent XML records - [x] Incorrect use of `constrains` (no...

enhancement

New command `odoo-lsp index` to generate LSIF/some other format for offline/headless usage. - [ ] `odoo-lsp index` - [ ] (Phase 1) Use index file if present at project root...

enhancement