odoo-ls
odoo-ls copied to clipboard
Typing lost on `for rec in self.search([])`
Your setup Version: 1.1.1 Operating System: Ubuntu 24.04 IDE and/or Integration tool (for example: Vscode - official extension): Neovim 0.11
Describe the bug
Unlike other for record in self loops, if you perform for record in self.search() typing is lost on the iteration value. Appears to be similar to #419 and probably a similar fix?
To Reproduce
Perform a hover on a for record in self.search() call.
Expected behavior Model typing should transfer to the iteration variable.
Screenshots
Hello @andg-odoo
Thank you for reporting it!
Indeed it seems to be caused by a tricky issue, but we are working on it!