Closed tmijail closed 4 years ago
The cursor stuff is only a helper in local mode, there's no way to grab a cursor remotely through RPC. Same for SQL query on the server. This would be a major security issue if Odoo allow such remote access to the SQL interface.
When I execute
I get the following error
Looking at the Odooly source, it seems to me that
env.registry
only exists ifenv.client._server
was set withstart_odoo_services
. Is there a way to get a cursor on a remote server? Or more to the point, can I use Odooly to execute an SQL query on a remote server?Thanks.