Closed AaronBeaudoin closed 1 year ago
Hi @AaronBeaudoin , The Odoo extension automatically determines Odoo version to provide appropriate completion. I just checked again, and everything is working fine for me.
How does it determine the Odoo version? I am using the Odoo 16.0 source code just like in your screenshot yet the redirect function is not detected:
Nevermind! I previously had the Odoo 13.0 source code and I replaced with the Odoo 16.0 source code, and it looks like I just needed to reload VS Code in order for the extension to re-initialize and pick up the new source code.
It looks like in Odoo 16.0 the
http.local_redirect
function no longer exists and there is now ahttp.request.redirect
function. But the new function doesn't show up in code completion. What version of Odoo is code completion targeting, and can I change it?