odoo / odoo-ls

Odoo Language Server
Other
57 stars 11 forks source link

[FIX] server: Return Relational symbol when comodel is not present in… #101

Closed fda-odoo closed 10 months ago

fda-odoo commented 10 months ago

… context

If 'comodel_name' is not present in context when evaluating a Realtional field (Many2one, etc..), it should return the symbol of the field itself, for the case where the user do a request on a non-instancied expression. Ex: on "fields.Many2one"