odoo-lsp
odoo-lsp copied to clipboard
Language server for Odoo Python/JS/XML
Knowledge of whether `Foo.bar` was inherited anywhere, if at all, might be useful.
- [x] `` - [ ] `` - [x] Parse action references - [ ] Support `fields.Reference`
Pyright has a fairly extensive *binder* that binds and determines the types of all values within a file. Perhaps it would be useful to learn its layout, and if it's...
I'm getting a timed out error on a fresh odoo source install when looking at my log files, it appears that the lsp works for a little while before getting...
- [x] `env['stock.picking'].search([('backorder_id')])` - `.backorder_id` doesn't have the same issue - Cause: holding ref to `'stock.picking'` while attempting to gain ref to same model - [ ] #29 - [x]...
When a modul inherits other models using _inherits, like product.product inherits from product.template, the parent fields are not available on the child model.  
```py cash_activity_ids = fields.One2many( string="Cash Activities", comodel_name='loan.activity', inverse_name='loan_id', domain=[('mode', '=', 'cash'), ('state', '=', 'applied')], # ^ should be loan.activity.mode, but the current model instead readonly=True ) ```
When a file is already opened (especially in Helix), it is considered "out of bounds" and is indexed immediately. Somehow this is wrong if the file is part of a...
- [ ] Track originating modules for items - [ ] Efficiently track reachable modules from current module - [ ] Field used from non-depended module - [ ] Model...