almost 9 years ago
When we use cursor first we have to move on Record Recordset and environment share the same cursor.And you can access cursor using like below code.
def my_fun(self): cursor = self._cr # or self.env.cr
Note- if you need to use the tcursor in your code (e.g. for a sql query and pg admin) you should check if it is available or not.
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Sign up using
0 Comment(s)